@types/office-js 1.0.216 → 1.0.217

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: Mon, 01 Nov 2021 17:01:30 GMT
11
+ * Last updated: Mon, 01 Nov 2021 20:31:23 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
@@ -48605,7 +48605,7 @@ declare namespace Excel {
48605
48605
  }): FunctionResult<T>;
48606
48606
  /**
48607
48607
  * Overrides the JavaScript `toJSON()` method in order to provide more useful output when an API object is passed to `JSON.stringify()`. (`JSON.stringify`, in turn, calls the `toJSON` method of the object that is passed to it.)
48608
- * Whereas the original FunctionResult<T> object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `Interfaces.FunctionResultData<T>`) that contains shallow copies of any loaded child properties from the original object.
48608
+ * Whereas the original `FunctionResult<T>` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `Interfaces.FunctionResultData<T>`) that contains shallow copies of any loaded child properties from the original object.
48609
48609
  */
48610
48610
  toJSON(): Interfaces.FunctionResultData<T>;
48611
48611
  }
@@ -74921,7 +74921,10 @@ declare namespace Word {
74921
74921
  */
74922
74922
  readonly lists: Word.ListCollection;
74923
74923
  /**
74924
- * Get the collection of paragraph objects in the content control. Read-only.
74924
+ * Gets the collection of paragraph objects in the content control. Read-only.
74925
+ *
74926
+ * **Important**: For requirement sets 1.1 and 1.2, paragraphs in tables wholly contained within this content control are not returned.
74927
+ * From requirement set 1.3, paragraphs in such tables are also returned.
74925
74928
  *
74926
74929
  * @remarks
74927
74930
  * [Api set: WordApi 1.1]
@@ -77673,6 +77676,9 @@ declare namespace Word {
77673
77676
  /**
77674
77677
  * Gets the collection of paragraph objects in the range. Read-only.
77675
77678
  *
77679
+ * **Important**: For requirement sets 1.1 and 1.2, paragraphs in tables wholly contained within this range are not returned.
77680
+ * From requirement set 1.3, paragraphs in such tables are also returned.
77681
+ *
77676
77682
  * @remarks
77677
77683
  * [Api set: WordApi 1.1]
77678
77684
  */
@@ -86362,14 +86368,6 @@ declare namespace Word {
86362
86368
  /**
86363
86369
  * Executes a batch script that performs actions on the Word object model, using a new RequestContext. When the promise is resolved, any tracked objects that were automatically allocated during execution will be released.
86364
86370
  * @param batch - A function that takes in a RequestContext and returns a promise (typically, just the result of "context.sync()"). The context parameter facilitates requests to the Word application. Since the Office add-in and the Word application run in two different processes, the RequestContext is required to get access to the Word object model from the add-in.
86365
- *
86366
- * @remarks
86367
- *
86368
- * In addition to this signature, the method also has the following signatures, which allow you to resume using the request context of previously created objects:
86369
- *
86370
- * run<T>(object: OfficeExtension.ClientObject, batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;
86371
- *
86372
- * run<T>(objects: OfficeExtension.ClientObject[], batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;
86373
86371
  */
86374
86372
  function run<T>(batch: (context: Word.RequestContext) => Promise<T>): Promise<T>;
86375
86373
  }
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.216",
3
+ "version": "1.0.217",
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",
@@ -40,6 +40,6 @@
40
40
  },
41
41
  "scripts": {},
42
42
  "dependencies": {},
43
- "typesPublisherContentHash": "9e4c53a0a52ac360362c71060083acd4335d05f0725b64a5f34aca10fc317267",
43
+ "typesPublisherContentHash": "d7ba3b2afcc20968c82925f6f7cfe82de8b5f083ffb4e73b08546a76103f5115",
44
44
  "typeScriptVersion": "3.7"
45
45
  }