@types/office-js-preview 1.0.309 → 1.0.310

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: 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
 
@@ -19122,17 +19122,17 @@ declare namespace OfficeExtension {
19122
19122
  const Promise: Office.IPromiseConstructor;
19123
19123
  type IPromise<T> = Promise<T>;
19124
19124
 
19125
- /** Collection of tracked objects, contained within a request context. See "context.trackedObjects" for more information. */
19125
+ /**
19126
+ * Collection of tracked objects, contained within a request context.
19127
+ * See {@link https://docs.microsoft.com/javascript/api/office/officeextension.clientrequestcontext#office-officeextension-clientrequestcontext-trackedobjects-member | context.trackedObjects}
19128
+ * for more information.
19129
+ */
19126
19130
  class TrackedObjects {
19127
19131
  /**
19128
19132
  * Track a new object for automatic adjustment based on surrounding changes in the document. Only some object types require this.
19129
19133
  * If you are using an object across ".sync" calls and outside the sequential execution of a ".run" batch,
19130
19134
  * and get an "InvalidObjectPath" error when setting a property or invoking a method on the object, you needed to have added the object
19131
19135
  * to the tracked object collection when the object was first created.
19132
- *
19133
- * This method also has the following signature:
19134
- *
19135
- * `add(objects: ClientObject[]): void;` Where objects is an array of objects to be tracked.
19136
19136
  */
19137
19137
  add(object: ClientObject): void;
19138
19138
  /**
@@ -19146,10 +19146,6 @@ declare namespace OfficeExtension {
19146
19146
  * Release the memory associated with an object that was previously added to this collection.
19147
19147
  * Having many tracked objects slows down the host application, so please remember to free any objects you add, once you're done using them.
19148
19148
  * You will need to call `context.sync()` before the memory release takes effect.
19149
- *
19150
- * This method also has the following signature:
19151
- *
19152
- * `remove(objects: ClientObject[]): void;` Where objects is an array of objects to be removed.
19153
19149
  */
19154
19150
  remove(object: ClientObject): void;
19155
19151
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.309",
3
+ "version": "1.0.310",
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": "931fa5490b8528c078e76ffa6b5d2de65e4f83c101f1733a6d8372d9d515d3ad",
48
+ "typesPublisherContentHash": "546c6b156ff86729ade07743ca5ebb16c8d5f3b3134152e93d2f5dafec8457d1",
49
49
  "typeScriptVersion": "3.9"
50
50
  }