@types/office-js 1.0.250 → 1.0.253
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- office-js/README.md +1 -1
- office-js/index.d.ts +5 -5
- office-js/package.json +2 -2
office-js/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 05 May 2022 23:31:38 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js/index.d.ts
CHANGED
|
@@ -543,16 +543,16 @@ declare namespace Office {
|
|
|
543
543
|
*/
|
|
544
544
|
interface Actions {
|
|
545
545
|
/**
|
|
546
|
-
* Associates the ID of an action with a function.
|
|
546
|
+
* Associates the ID or name of an action with a function.
|
|
547
547
|
*
|
|
548
|
-
* @param actionId The ID of an action that is defined in an extended manifest.
|
|
548
|
+
* @param actionId The ID of an action that is defined in an extended manifest or the name of the function as specified in a **FunctionName** element in the manifest.
|
|
549
549
|
* @param actionFunction The function that is run when the action is invoked.
|
|
550
550
|
*
|
|
551
551
|
* @remarks
|
|
552
552
|
* **Requirement set**: {@link https://docs.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1}
|
|
553
553
|
*/
|
|
554
554
|
associate: (actionId: string, actionFunction: (arg?: any) => void) => void;
|
|
555
|
-
}
|
|
555
|
+
}
|
|
556
556
|
/**
|
|
557
557
|
* Message used in the `onVisibilityModeChanged` invocation.
|
|
558
558
|
*/
|
|
@@ -1850,7 +1850,7 @@ declare namespace Office {
|
|
|
1850
1850
|
*
|
|
1851
1851
|
* **Hosts**: Excel, Outlook (in preview), PowerPoint, Word
|
|
1852
1852
|
*
|
|
1853
|
-
* `OfficeTheme` is only supported in Office on Windows.
|
|
1853
|
+
* `OfficeTheme` is only supported in Office on Windows, Mac, and the web.
|
|
1854
1854
|
*/
|
|
1855
1855
|
interface OfficeTheme {
|
|
1856
1856
|
/**
|
|
@@ -18296,7 +18296,7 @@ declare namespace OfficeExtension {
|
|
|
18296
18296
|
* This statement will never contain any potentially-sensitive data and may not match the code exactly as written,
|
|
18297
18297
|
* but will be a close approximation.
|
|
18298
18298
|
*/
|
|
18299
|
-
|
|
18299
|
+
statement?: string;
|
|
18300
18300
|
/**
|
|
18301
18301
|
* The statements that closely precede and follow the statement that caused the error, if available.
|
|
18302
18302
|
*
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.253",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "7b8072c22f9b7ffbd53e6bbfb6765acb966196b3eb07a30249885cd1a47c6d49",
|
|
49
49
|
"typeScriptVersion": "3.9"
|
|
50
50
|
}
|