Skip to content

Commit 9cf601f

Browse files
authored
[office-js, office-js-preview] Add missing Office ExtensionLifeCycle property (DefinitelyTyped#74377)
1 parent 2744dd1 commit 9cf601f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,15 @@ declare namespace Office {
249249
* Represents the Device Permission interface.
250250
*/
251251
const devicePermission: DevicePermission;
252+
/**
253+
* Provides options to manage the user interface of an Office Add-in while the add-in is running.
254+
*/
255+
const extensionLifeCycle: ExtensionLifeCycle;
252256
/**
253257
* Represents the ribbon associated with the Office application.
254258
*/
255259
const ribbon: Ribbon;
260+
256261
/**
257262
* Occurs when the runtime environment is loaded and the add-in is ready to start interacting with the application and hosted document.
258263
*

types/office-js/index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,15 @@ declare namespace Office {
249249
* Represents the Device Permission interface.
250250
*/
251251
const devicePermission: DevicePermission;
252+
/**
253+
* Provides options to manage the user interface of an Office Add-in while the add-in is running.
254+
*/
255+
const extensionLifeCycle: ExtensionLifeCycle;
252256
/**
253257
* Represents the ribbon associated with the Office application.
254258
*/
255259
const ribbon: Ribbon;
260+
256261
/**
257262
* Occurs when the runtime environment is loaded and the add-in is ready to start interacting with the application and hosted document.
258263
*

0 commit comments

Comments
 (0)