@types/office-js-preview 1.0.301 → 1.0.304

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.
@@ -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-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 02 May 2022 18:01:40 GMT
11
+ * Last updated: Thu, 05 May 2022 23:31:39 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -543,9 +543,9 @@ 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
@@ -1965,7 +1965,7 @@ declare namespace Office {
1965
1965
  *
1966
1966
  * **Hosts**: Excel, Outlook (in preview), PowerPoint, Word
1967
1967
  *
1968
- * `OfficeTheme` is only supported in Office on Windows.
1968
+ * `OfficeTheme` is only supported in Office on Windows, Mac, and the web.
1969
1969
  */
1970
1970
  interface OfficeTheme {
1971
1971
  /**
@@ -19056,7 +19056,7 @@ declare namespace OfficeExtension {
19056
19056
  * This statement will never contain any potentially-sensitive data and may not match the code exactly as written,
19057
19057
  * but will be a close approximation.
19058
19058
  */
19059
- statements?: string;
19059
+ statement?: string;
19060
19060
  /**
19061
19061
  * The statements that closely precede and follow the statement that caused the error, if available.
19062
19062
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.301",
3
+ "version": "1.0.304",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "c699f8a695dcd3f0212d7df5ea22abfab00dd497090685e5a71e5d8ef3379b96",
48
+ "typesPublisherContentHash": "7c02619549c29a4188d5df5b2307e9f46c019c20013e42689788449741e07335",
49
49
  "typeScriptVersion": "3.9"
50
50
  }