Skip to content

Commit c83706e

Browse files
authored
[office-js,office-js-preview] Update based on autoopen change (DefinitelyTyped#74585)
1 parent f43107d commit c83706e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3331,6 +3331,8 @@ declare namespace Office {
33313331
* @returns A promise that is resolved when the UI is shown.
33323332
*
33333333
* @remarks
3334+
* This method applies only to centrally deployed or sideloaded add-ins. For add-ins published in the Microsoft Marketplace, the method is ignored and the task pane doesn't open.
3335+
*
33343336
* **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1}
33353337
*/
33363338
showAsTaskpane(): Promise<void>;

types/office-js/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3331,6 +3331,8 @@ declare namespace Office {
33313331
* @returns A promise that is resolved when the UI is shown.
33323332
*
33333333
* @remarks
3334+
* This method applies only to centrally deployed or sideloaded add-ins. For add-ins published in the Microsoft Marketplace, the method is ignored and the task pane doesn't open.
3335+
*
33343336
* **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1}
33353337
*/
33363338
showAsTaskpane(): Promise<void>;

0 commit comments

Comments
 (0)