@types/office-js-preview 1.0.310 → 1.0.311

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: Tue, 07 Jun 2022 18:31:33 GMT
11
+ * Last updated: Fri, 10 Jun 2022 17:01:35 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -19132,14 +19132,16 @@ declare namespace OfficeExtension {
19132
19132
  * Track a new object for automatic adjustment based on surrounding changes in the document. Only some object types require this.
19133
19133
  * If you are using an object across ".sync" calls and outside the sequential execution of a ".run" batch,
19134
19134
  * and get an "InvalidObjectPath" error when setting a property or invoking a method on the object, you needed to have added the object
19135
- * to the tracked object collection when the object was first created.
19135
+ * to the tracked object collection when the object was first created. If this object is part of a collection in Word, you should also track
19136
+ * the parent collection.
19136
19137
  */
19137
19138
  add(object: ClientObject): void;
19138
19139
  /**
19139
19140
  * Track a set of objects for automatic adjustment based on surrounding changes in the document. Only some object types require this.
19140
19141
  * If you are using an object across ".sync" calls and outside the sequential execution of a ".run" batch,
19141
19142
  * and get an "InvalidObjectPath" error when setting a property or invoking a method on the object, you needed to have added the object
19142
- * to the tracked object collection when the object was first created.
19143
+ * to the tracked object collection when the object was first created. If this object is part of a collection in Word, you should also track
19144
+ * the parent collection.
19143
19145
  */
19144
19146
  add(objects: ClientObject[]): void;
19145
19147
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.310",
3
+ "version": "1.0.311",
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": "546c6b156ff86729ade07743ca5ebb16c8d5f3b3134152e93d2f5dafec8457d1",
49
- "typeScriptVersion": "3.9"
48
+ "typesPublisherContentHash": "353b4a1759d4a88697f387cda6c895c27ce31aafecc772e7c7774b84818c2fe5",
49
+ "typeScriptVersion": "4.0"
50
50
  }