Skip to content

Commit 48ae043

Browse files
[office-js][office-js-preview] (TaskPaneApi) Document support in Office on Mac (DefinitelyTyped#74101)
1 parent 5edf2f2 commit 48ae043

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

types/office-js-preview/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8614,12 +8614,12 @@ declare namespace Office {
86148614
*
86158615
* - **Web (Word)**: 330 px
86168616
*
8617-
* - **Windows**: 51 px
8617+
* - **Windows, Mac**: 51 px
86188618
*
86198619
* If you pass a width beyond the minimum and maximum constraints, the task pane isn't resized and no error is shown.
86208620
*
86218621
* @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
8622-
* 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
8622+
* 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
86238623
* must be between 51 px and 50% of the client window.
86248624
*/
86258625
setWidth(width: number): void;

types/office-js/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8604,12 +8604,12 @@ declare namespace Office {
86048604
*
86058605
* - **Web (Word)**: 330 px
86068606
*
8607-
* - **Windows**: 51 px
8607+
* - **Windows, Mac**: 51 px
86088608
*
86098609
* If you pass a width beyond the minimum and maximum constraints, the task pane isn't resized and no error is shown.
86108610
*
86118611
* @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
8612-
* 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
8612+
* 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
86138613
* must be between 51 px and 50% of the client window.
86148614
*/
86158615
setWidth(width: number): void;

0 commit comments

Comments
 (0)