@types/office-js 1.0.259 → 1.0.260
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 +4 -2
- office-js/package.json +3 -3
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: 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
|
|
office-js/index.d.ts
CHANGED
|
@@ -18410,14 +18410,16 @@ declare namespace OfficeExtension {
|
|
|
18410
18410
|
* Track a new object for automatic adjustment based on surrounding changes in the document. Only some object types require this.
|
|
18411
18411
|
* If you are using an object across ".sync" calls and outside the sequential execution of a ".run" batch,
|
|
18412
18412
|
* and get an "InvalidObjectPath" error when setting a property or invoking a method on the object, you needed to have added the object
|
|
18413
|
-
* to the tracked object collection when the object was first created.
|
|
18413
|
+
* 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
|
|
18414
|
+
* the parent collection.
|
|
18414
18415
|
*/
|
|
18415
18416
|
add(object: ClientObject): void;
|
|
18416
18417
|
/**
|
|
18417
18418
|
* Track a set of objects for automatic adjustment based on surrounding changes in the document. Only some object types require this.
|
|
18418
18419
|
* If you are using an object across ".sync" calls and outside the sequential execution of a ".run" batch,
|
|
18419
18420
|
* and get an "InvalidObjectPath" error when setting a property or invoking a method on the object, you needed to have added the object
|
|
18420
|
-
* to the tracked object collection when the object was first created.
|
|
18421
|
+
* 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
|
|
18422
|
+
* the parent collection.
|
|
18421
18423
|
*/
|
|
18422
18424
|
add(objects: ClientObject[]): void;
|
|
18423
18425
|
/**
|
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.260",
|
|
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": "
|
|
49
|
-
"typeScriptVersion": "
|
|
48
|
+
"typesPublisherContentHash": "6a90f5c3445c7f8862e0ee4588bef46c90635ad1a01410eb4b991f2d31c068ff",
|
|
49
|
+
"typeScriptVersion": "4.0"
|
|
50
50
|
}
|