@types/office-js 1.0.342 → 1.0.343

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/LICENSE CHANGED
File without changes
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: Thu, 07 Sep 2023 21:03:10 GMT
11
+ * Last updated: Thu, 14 Sep 2023 01:49:18 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
@@ -84005,9 +84005,9 @@ declare namespace Word {
84005
84005
  * @remarks
84006
84006
  * [Api set: WordApi 1.1]
84007
84007
  *
84008
- * Note: The `contentControlType` parameter was introduced in WordApi 1.5.
84008
+ * Note: The `contentControlType` parameter was introduced in WordApi 1.5. `PlainText` support was added in WordApi 1.5.
84009
84009
  *
84010
- * @param contentControlType Optional. The content control type. The default is 'RichText'.
84010
+ * @param contentControlType Optional. Content control type to insert. Must be 'RichText' or 'PlainText'. The default is 'RichText'.
84011
84011
  */
84012
84012
  insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | "RichText" | "PlainText"): Word.ContentControl;
84013
84013
  /**
@@ -85269,6 +85269,8 @@ declare namespace Word {
85269
85269
  *
85270
85270
  * @remarks
85271
85271
  * [Api set: WordApi 1.5]
85272
+ *
85273
+ * Note: `PlainText` support was added in WordApi 1.5.
85272
85274
  */
85273
85275
  types: Word.ContentControlType[];
85274
85276
  }
@@ -88177,9 +88179,9 @@ declare namespace Word {
88177
88179
  * @remarks
88178
88180
  * [Api set: WordApi 1.1]
88179
88181
  *
88180
- * Note: The `contentControlType` parameter was introduced in WordApi 1.5.
88182
+ * Note: The `contentControlType` parameter was introduced in WordApi 1.5. `PlainText` support was added in WordApi 1.5.
88181
88183
  *
88182
- * @param contentControlType Optional. The content control type. The default is 'RichText'.
88184
+ * @param contentControlType Optional. Content control type to insert. Must be 'RichText' or 'PlainText'. The default is 'RichText'.
88183
88185
  */
88184
88186
  insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | "RichText" | "PlainText"): Word.ContentControl;
88185
88187
  /**
@@ -88911,9 +88913,9 @@ declare namespace Word {
88911
88913
  * @remarks
88912
88914
  * [Api set: WordApi 1.1]
88913
88915
  *
88914
- * Note: The `contentControlType` parameter was introduced in WordApi 1.5.
88916
+ * Note: The `contentControlType` parameter was introduced in WordApi 1.5. `PlainText` support was added in WordApi 1.5.
88915
88917
  *
88916
- * @param contentControlType Optional. The content control type. The default is 'RichText'.
88918
+ * @param contentControlType Optional. Content control type to insert. Must be 'RichText' or 'PlainText'. The default is 'RichText'.
88917
88919
  */
88918
88920
  insertContentControl(contentControlType?: Word.ContentControlType.richText | Word.ContentControlType.plainText | "RichText" | "PlainText"): Word.ContentControl;
88919
88921
  /**
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.342",
3
+ "version": "1.0.343",
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": "3e0647332ce8333c3aea400442df6029f60659ef6239f6ea8f92a615259c09a2",
49
- "typeScriptVersion": "4.3"
48
+ "typesPublisherContentHash": "7500556562645b3cf8543937738b038376934f7148113102fcd982f317bcd26f",
49
+ "typeScriptVersion": "4.5"
50
50
  }