@types/office-js 1.0.317 → 1.0.319

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: Tue, 07 Mar 2023 22:32:37 GMT
11
+ * Last updated: Tue, 11 Apr 2023 23:03:25 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
@@ -718,7 +718,7 @@ declare namespace Office {
718
718
  * This method only requests that the tab be registered. The actual registration is controlled by the Office application and may not be complete when the returned `Promise` object is resolved.
719
719
  * For more information and code examples, see {@link https://learn.microsoft.com/office/dev/add-ins/design/contextual-tabs | Create custom contextual tabs}.
720
720
  *
721
- * @param tabDefinition - Specifies the tab's properties and child controls and their properties. Pass a JSON string that conforms to the Office dynamic-ribbon JSON schema to `JSON.parse`, and then pass the returned object to this method.
721
+ * @param tabDefinition - Specifies the tab's properties and child controls and their properties. This parameter isn't strongly typed because its shape is defined by a JSON schema that can be versioned. To create the parameter object, pass a JSON string that conforms to the Office {@link https://developer.microsoft.com/json-schemas/office-js/dynamic-ribbon.schema.json | dynamic-ribbon JSON schema} to `JSON.parse`, and then pass the returned object to this method. To get IntelliSense for the JSON in Visual Studio Code, see {@link https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings | Editing JSON with Visual Studio Code - JSON schemas and settings }.
722
722
  */
723
723
  requestCreateControls(tabDefinition: Object): Promise<void>;
724
724
  /**
@@ -109309,7 +109309,7 @@ declare namespace PowerPoint {
109309
109309
  * @remarks
109310
109310
  * [Api set: PowerPointApi 1.3]
109311
109311
  *
109312
- * @param key The ID of the tag.
109312
+ * @param key The ID of the tag. The `key` parameter is case-sensitive.
109313
109313
  * @returns The tag with the unique ID. If such a tag does not exist, an error is thrown.
109314
109314
  */
109315
109315
  getItem(key: string): PowerPoint.Tag;
@@ -109329,7 +109329,7 @@ declare namespace PowerPoint {
109329
109329
  * @remarks
109330
109330
  * [Api set: PowerPointApi 1.3]
109331
109331
  *
109332
- * @param key The ID of the tag.
109332
+ * @param key The ID of the tag. The `key` parameter is case-sensitive.
109333
109333
  * @returns The tag with the unique ID. If such a tag does not exist, an object with an `isNullObject` property set to true is returned.
109334
109334
  */
109335
109335
  getItemOrNullObject(key: string): PowerPoint.Tag;
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.317",
3
+ "version": "1.0.319",
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": "712921af1c8058579edecbad22236dff326c9c1b19af52298741d5ae0df45d17",
49
- "typeScriptVersion": "4.2"
48
+ "typesPublisherContentHash": "de8d306117b73b91cd0c9ad0f900c3221f8db4ab7794f3f6e5a0adb0c7bdd3f6",
49
+ "typeScriptVersion": "4.3"
50
50
  }