@types/office-js 1.0.226 → 1.0.227

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 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: Thu, 16 Dec 2021 21:01:26 GMT
11
+ * Last updated: Mon, 20 Dec 2021 22:01:19 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
@@ -341,6 +341,12 @@ declare namespace Office {
341
341
  * Represents the ribbon associated with the Office application.
342
342
  */
343
343
  const ribbon: Ribbon;
344
+ /**
345
+ * Checks if the specified requirement set is supported by the host Office application.
346
+ * @param name - Set name; e.g., "MatrixBindings".
347
+ * @param minVersion - The minimum required version; e.g., "1.4".
348
+ */
349
+ function isSetSupported(name: string, minVersion?: string): boolean;
344
350
  // Enumerations
345
351
  /**
346
352
  * Provides options to determine the startup behavior of the add-in upon next start-up.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.226",
3
+ "version": "1.0.227",
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",
@@ -40,6 +40,6 @@
40
40
  },
41
41
  "scripts": {},
42
42
  "dependencies": {},
43
- "typesPublisherContentHash": "115194825c4fec94537cb9b3808ddddb8b9ca4c0d7726dcbdd687faa8f8c3ae9",
43
+ "typesPublisherContentHash": "2a71f173bd10c98559cd6a00a42cfa0080cccec0436eabedf35bf93451bc26d6",
44
44
  "typeScriptVersion": "3.8"
45
45
  }