diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index cf865e7666e5ba..527056a233473c 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -8614,12 +8614,12 @@ declare namespace Office { * * - **Web (Word)**: 330 px * - * - **Windows**: 51 px + * - **Windows, Mac**: 51 px * * If you pass a width beyond the minimum and maximum constraints, the task pane isn't resized and no error is shown. * * @param width The width of a task pane in pixels. The minimum and maximum constraints vary by platform. In Excel on the web, the width must be between - * 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows, the width + * 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows and on Mac, the width * must be between 51 px and 50% of the client window. */ setWidth(width: number): void; diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index a34f773fd2a703..3cc34e1c599a0d 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -8604,12 +8604,12 @@ declare namespace Office { * * - **Web (Word)**: 330 px * - * - **Windows**: 51 px + * - **Windows, Mac**: 51 px * * If you pass a width beyond the minimum and maximum constraints, the task pane isn't resized and no error is shown. * * @param width The width of a task pane in pixels. The minimum and maximum constraints vary by platform. In Excel on the web, the width must be between - * 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows, the width + * 350 and 500 px (inclusive). In Word on the web, the width must be between 330 and 500 px (inclusive). In Office on Windows and on Mac, the width * must be between 51 px and 50% of the client window. */ setWidth(width: number): void;