@types/office-js 1.0.258 → 1.0.259

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: Wed, 01 Jun 2022 18:31:31 GMT
11
+ * Last updated: Tue, 07 Jun 2022 18:31:33 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
@@ -18400,17 +18400,17 @@ declare namespace OfficeExtension {
18400
18400
  const Promise: Office.IPromiseConstructor;
18401
18401
  type IPromise<T> = Promise<T>;
18402
18402
 
18403
- /** Collection of tracked objects, contained within a request context. See "context.trackedObjects" for more information. */
18403
+ /**
18404
+ * Collection of tracked objects, contained within a request context.
18405
+ * See {@link https://docs.microsoft.com/javascript/api/office/officeextension.clientrequestcontext#office-officeextension-clientrequestcontext-trackedobjects-member | context.trackedObjects}
18406
+ * for more information.
18407
+ */
18404
18408
  class TrackedObjects {
18405
18409
  /**
18406
18410
  * Track a new object for automatic adjustment based on surrounding changes in the document. Only some object types require this.
18407
18411
  * If you are using an object across ".sync" calls and outside the sequential execution of a ".run" batch,
18408
18412
  * and get an "InvalidObjectPath" error when setting a property or invoking a method on the object, you needed to have added the object
18409
18413
  * to the tracked object collection when the object was first created.
18410
- *
18411
- * This method also has the following signature:
18412
- *
18413
- * `add(objects: ClientObject[]): void;` Where objects is an array of objects to be tracked.
18414
18414
  */
18415
18415
  add(object: ClientObject): void;
18416
18416
  /**
@@ -18424,10 +18424,6 @@ declare namespace OfficeExtension {
18424
18424
  * Release the memory associated with an object that was previously added to this collection.
18425
18425
  * Having many tracked objects slows down the host application, so please remember to free any objects you add, once you're done using them.
18426
18426
  * You will need to call `context.sync()` before the memory release takes effect.
18427
- *
18428
- * This method also has the following signature:
18429
- *
18430
- * `remove(objects: ClientObject[]): void;` Where objects is an array of objects to be removed.
18431
18427
  */
18432
18428
  remove(object: ClientObject): void;
18433
18429
  /**
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.258",
3
+ "version": "1.0.259",
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": "3a6b1cffaa01f254045a36942fa861556459328c1573e8173558cdbf05050da8",
48
+ "typesPublisherContentHash": "002bef8261aa095a639006649d8b878116411db7ba60955ac573ab1416c85a4f",
49
49
  "typeScriptVersion": "3.9"
50
50
  }