@types/office-js 1.0.527 → 1.0.528

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: Tue, 26 Aug 2025 18:40:04 GMT
11
+ * Last updated: Wed, 27 Aug 2025 16:02:42 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -130218,9 +130218,9 @@ declare namespace PowerPoint {
130218
130218
  expand?: string;
130219
130219
  }): PowerPoint.TableCell;
130220
130220
  /**
130221
- * 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's passed to it.)
130222
- * Whereas the original `PowerPoint.TableCell` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TableCellData`) that contains shallow copies of any loaded child properties from the original object.
130223
- */
130221
+ * 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's passed to it.)
130222
+ * Whereas the original `PowerPoint.TableCell` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TableCellData`) that contains shallow copies of any loaded child properties from the original object.
130223
+ */
130224
130224
  toJSON(): PowerPoint.Interfaces.TableCellData;
130225
130225
  }
130226
130226
  /**
@@ -130272,9 +130272,9 @@ declare namespace PowerPoint {
130272
130272
  */
130273
130273
  load(propertyNamesAndPaths?: OfficeExtension.LoadOption): PowerPoint.TableCellCollection;
130274
130274
  /**
130275
- * 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's passed to it.)
130276
- * Whereas the original `PowerPoint.TableCellCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TableCellCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
130277
- */
130275
+ * 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's passed to it.)
130276
+ * Whereas the original `PowerPoint.TableCellCollection` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TableCellCollectionData`) that contains an "items" array with shallow copies of any loaded properties from the collection's items.
130277
+ */
130278
130278
  toJSON(): PowerPoint.Interfaces.TableCellCollectionData;
130279
130279
  }
130280
130280
  /**
@@ -130480,7 +130480,7 @@ declare namespace PowerPoint {
130480
130480
  */
130481
130481
  text?: string;
130482
130482
  /**
130483
- * Specifies the contents of the table cell as an array of {@link TextRun} objects.
130483
+ * Specifies the contents of the table cell as an array of {@link PowerPoint.TextRun} objects.
130484
130484
  Each `TextRun` object represents a sequence of one or more characters that share the same font attributes.
130485
130485
  *
130486
130486
  * @remarks
@@ -130573,9 +130573,9 @@ declare namespace PowerPoint {
130573
130573
  expand?: string;
130574
130574
  }): PowerPoint.Table;
130575
130575
  /**
130576
- * 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's passed to it.)
130577
- * Whereas the original `PowerPoint.Table` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TableData`) that contains shallow copies of any loaded child properties from the original object.
130578
- */
130576
+ * 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's passed to it.)
130577
+ * Whereas the original `PowerPoint.Table` object is an API object, the `toJSON` method returns a plain JavaScript object (typed as `PowerPoint.Interfaces.TableData`) that contains shallow copies of any loaded child properties from the original object.
130578
+ */
130579
130579
  toJSON(): PowerPoint.Interfaces.TableData;
130580
130580
  }
130581
130581
  /**
@@ -130840,8 +130840,8 @@ declare namespace PowerPoint {
130840
130840
  * @param options Provides options describing the new table.
130841
130841
  * @returns The newly inserted shape.
130842
130842
  */
130843
- addTable(rowCount: number, columnCount: number, options?: PowerPoint.TableAddOptions): PowerPoint.Shape;
130844
- /**
130843
+ addTable(rowCount: number, columnCount: number, options?: PowerPoint.TableAddOptions): PowerPoint.Shape;
130844
+ /**
130845
130845
  * Adds a text box to the slide with the provided text as the content. Returns a `Shape` object that represents the new text box.
130846
130846
  *
130847
130847
  * @remarks
@@ -133935,7 +133935,7 @@ declare namespace PowerPoint {
133935
133935
  * [Api set: PowerPointApi 1.8]
133936
133936
  */
133937
133937
  allCaps?: boolean | null;
133938
- /**
133938
+ /**
133939
133939
  * Specifies whether the text in the `TextRange` is set to bold. The possible values are as follows:
133940
133940
 
133941
133941
  - `true`: All the text is bold.
@@ -135411,12 +135411,12 @@ declare namespace PowerPoint {
135411
135411
  */
135412
135412
  fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
135413
135413
  /**
135414
- * For EACH ITEM in the collection: Returns the `ShapeGroup` associated with the shape.
135414
+ * For EACH ITEM in the collection: Returns the `ShapeGroup` associated with the shape.
135415
135415
  If the shape type isn't `group`, then this method returns the `GeneralException` error.
135416
- *
135417
- * @remarks
135418
- * [Api set: PowerPointApi 1.8]
135419
- */
135416
+ *
135417
+ * @remarks
135418
+ * [Api set: PowerPointApi 1.8]
135419
+ */
135420
135420
  group?: PowerPoint.Interfaces.ShapeGroupLoadOptions;
135421
135421
  /**
135422
135422
  * For EACH ITEM in the collection: Returns the line formatting of this shape.
@@ -135426,23 +135426,23 @@ declare namespace PowerPoint {
135426
135426
  */
135427
135427
  lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
135428
135428
  /**
135429
- * For EACH ITEM in the collection: Returns the parent group of this shape.
135429
+ * For EACH ITEM in the collection: Returns the parent group of this shape.
135430
135430
  If the shape isn't part of a group, then this method returns the `GeneralException` error.
135431
- *
135432
- * @remarks
135433
- * [Api set: PowerPointApi 1.8]
135434
- */
135431
+ *
135432
+ * @remarks
135433
+ * [Api set: PowerPointApi 1.8]
135434
+ */
135435
135435
  parentGroup?: PowerPoint.Interfaces.ShapeLoadOptions;
135436
135436
  /**
135437
- * For EACH ITEM in the collection: Returns the properties that apply specifically to this placeholder.
135437
+ * For EACH ITEM in the collection: Returns the properties that apply specifically to this placeholder.
135438
135438
  If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
135439
- *
135440
- * @remarks
135441
- * [Api set: PowerPointApi 1.8]
135442
- */
135439
+ *
135440
+ * @remarks
135441
+ * [Api set: PowerPointApi 1.8]
135442
+ */
135443
135443
  placeholderFormat?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions;
135444
135444
  /**
135445
- * For EACH ITEM in the collection: Returns the {@link PowerPoint.TextFrame} object of this `Shape`. Throws an `InvalidArgument` exception if the shape doesn't support a `TextFrame`.
135445
+ * For EACH ITEM in the collection: Returns the {@link PowerPoint.TextFrame} object of this `Shape`. Throws an `InvalidArgument` exception if the shape doesn't support a `TextFrame`.
135446
135446
  *
135447
135447
  * @remarks
135448
135448
  * [Api set: PowerPointApi 1.5]
@@ -135787,12 +135787,12 @@ declare namespace PowerPoint {
135787
135787
  */
135788
135788
  fill?: PowerPoint.Interfaces.ShapeFillLoadOptions;
135789
135789
  /**
135790
- * Returns the `ShapeGroup` associated with the shape.
135790
+ * Returns the `ShapeGroup` associated with the shape.
135791
135791
  If the shape type isn't `group`, then this method returns the `GeneralException` error.
135792
- *
135793
- * @remarks
135794
- * [Api set: PowerPointApi 1.8]
135795
- */
135792
+ *
135793
+ * @remarks
135794
+ * [Api set: PowerPointApi 1.8]
135795
+ */
135796
135796
  group?: PowerPoint.Interfaces.ShapeGroupLoadOptions;
135797
135797
  /**
135798
135798
  * Returns the line formatting of this shape.
@@ -135802,23 +135802,23 @@ declare namespace PowerPoint {
135802
135802
  */
135803
135803
  lineFormat?: PowerPoint.Interfaces.ShapeLineFormatLoadOptions;
135804
135804
  /**
135805
- * Returns the parent group of this shape.
135805
+ * Returns the parent group of this shape.
135806
135806
  If the shape isn't part of a group, then this method returns the `GeneralException` error.
135807
- *
135808
- * @remarks
135809
- * [Api set: PowerPointApi 1.8]
135810
- */
135807
+ *
135808
+ * @remarks
135809
+ * [Api set: PowerPointApi 1.8]
135810
+ */
135811
135811
  parentGroup?: PowerPoint.Interfaces.ShapeLoadOptions;
135812
135812
  /**
135813
- * Returns the properties that apply specifically to this placeholder.
135813
+ * Returns the properties that apply specifically to this placeholder.
135814
135814
  If the shape type isn't `placeholder`, then this method returns the `GeneralException` error.
135815
- *
135816
- * @remarks
135817
- * [Api set: PowerPointApi 1.8]
135818
- */
135815
+ *
135816
+ * @remarks
135817
+ * [Api set: PowerPointApi 1.8]
135818
+ */
135819
135819
  placeholderFormat?: PowerPoint.Interfaces.PlaceholderFormatLoadOptions;
135820
135820
  /**
135821
- * Returns the {@link PowerPoint.TextFrame} object of this `Shape`. Throws an `InvalidArgument` exception if the shape doesn't support a `TextFrame`.
135821
+ * Returns the {@link PowerPoint.TextFrame} object of this `Shape`. Throws an `InvalidArgument` exception if the shape doesn't support a `TextFrame`.
135822
135822
  *
135823
135823
  * @remarks
135824
135824
  * [Api set: PowerPointApi 1.4]
@@ -135857,8 +135857,8 @@ declare namespace PowerPoint {
135857
135857
  * @remarks
135858
135858
  * [Api set: PowerPointApi 1.8]
135859
135859
  */
135860
- level?: boolean;
135861
- /**
135860
+ level?: boolean;
135861
+ /**
135862
135862
  * Specifies the name of this shape.
135863
135863
  *
135864
135864
  * @remarks
@@ -136116,18 +136116,18 @@ declare namespace PowerPoint {
136116
136116
  */
136117
136117
  $all?: boolean;
136118
136118
  /**
136119
- * For EACH ITEM in the collection: Gets the layout of the slide.
136120
- *
136121
- * @remarks
136122
- * [Api set: PowerPointApi 1.3]
136123
- */
136119
+ * For EACH ITEM in the collection: Gets the layout of the slide.
136120
+ *
136121
+ * @remarks
136122
+ * [Api set: PowerPointApi 1.3]
136123
+ */
136124
136124
  layout?: PowerPoint.Interfaces.SlideLayoutLoadOptions;
136125
136125
  /**
136126
- * For EACH ITEM in the collection: Gets the `SlideMaster` object that represents the slide's default content.
136127
- *
136128
- * @remarks
136129
- * [Api set: PowerPointApi 1.3]
136130
- */
136126
+ * For EACH ITEM in the collection: Gets the `SlideMaster` object that represents the slide's default content.
136127
+ *
136128
+ * @remarks
136129
+ * [Api set: PowerPointApi 1.3]
136130
+ */
136131
136131
  slideMaster?: PowerPoint.Interfaces.SlideMasterLoadOptions;
136132
136132
  /**
136133
136133
  * For EACH ITEM in the collection: Gets the unique ID of the slide.
@@ -136156,18 +136156,18 @@ declare namespace PowerPoint {
136156
136156
  */
136157
136157
  $all?: boolean;
136158
136158
  /**
136159
- * For EACH ITEM in the collection: Gets the layout of the slide.
136160
- *
136161
- * @remarks
136162
- * [Api set: PowerPointApi 1.5]
136163
- */
136159
+ * For EACH ITEM in the collection: Gets the layout of the slide.
136160
+ *
136161
+ * @remarks
136162
+ * [Api set: PowerPointApi 1.5]
136163
+ */
136164
136164
  layout?: PowerPoint.Interfaces.SlideLayoutLoadOptions;
136165
136165
  /**
136166
- * For EACH ITEM in the collection: Gets the `SlideMaster` object that represents the slide's default content.
136167
- *
136168
- * @remarks
136169
- * [Api set: PowerPointApi 1.5]
136170
- */
136166
+ * For EACH ITEM in the collection: Gets the `SlideMaster` object that represents the slide's default content.
136167
+ *
136168
+ * @remarks
136169
+ * [Api set: PowerPointApi 1.5]
136170
+ */
136171
136171
  slideMaster?: PowerPoint.Interfaces.SlideMasterLoadOptions;
136172
136172
  /**
136173
136173
  * For EACH ITEM in the collection: Gets the unique ID of the slide.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.527",
3
+ "version": "1.0.528",
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",
@@ -46,6 +46,6 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "7b8b1b4d37e2e2102eb93f8ba1e4fb809e69a8ac573f3970c8d60a01f41ea5ed",
49
+ "typesPublisherContentHash": "055397b64e2c1ae522a2227b94c1303d12230efbe310dbf0bc06393282a61015",
50
50
  "typeScriptVersion": "5.2"
51
51
  }