@types/office-js 1.0.549 → 1.0.550

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, 14 Oct 2025 21:32:49 GMT
11
+ * Last updated: Fri, 17 Oct 2025 17:33:42 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -154438,6 +154438,8 @@ declare namespace Visio {
154438
154438
 
154439
154439
  declare namespace PowerPoint {
154440
154440
  /**
154441
+ * Represents the PowerPoint application that manages the presentation.
154442
+ *
154441
154443
  * @remarks
154442
154444
  * [Api set: PowerPointApi 1.0]
154443
154445
  */
@@ -154457,6 +154459,10 @@ declare namespace PowerPoint {
154457
154459
  };
154458
154460
  }
154459
154461
  /**
154462
+ * The `Presentation` object is the top-level object with one or more slides that contain the contents of the presentation.
154463
+ To learn more about the PowerPoint object model,
154464
+ see {@link https://learn.microsoft.com/office/dev/add-ins/powerpoint/core-concepts | PowerPoint JavaScript object model}.
154465
+ *
154460
154466
  * @remarks
154461
154467
  * [Api set: PowerPointApi 1.0]
154462
154468
  */
@@ -154512,6 +154518,12 @@ declare namespace PowerPoint {
154512
154518
  * [Api set: PowerPointApi 1.5]
154513
154519
  */
154514
154520
  readonly id: string;
154521
+ /**
154522
+ * Returns the title of the presentation.
154523
+ *
154524
+ * @remarks
154525
+ * [Api set: PowerPointApi 1.0]
154526
+ */
154515
154527
  readonly title: string;
154516
154528
  /**
154517
154529
  * Returns the selected shapes in the current slide of the presentation.
@@ -155949,8 +155961,8 @@ declare namespace PowerPoint {
155949
155961
  */
155950
155962
  getCount(): OfficeExtension.ClientResult<number>;
155951
155963
  /**
155952
- * Gets a hyperlink using its zero-based index in the collection. An error is thrown if the index is out of range.
155953
- Throws an `InvalidArgument` exception when the index is out of range.
155964
+ * Gets a hyperlink using its zero-based index in the collection.
155965
+ Throws an `InvalidArgument` exception if the index is out of range.
155954
155966
  *
155955
155967
  * @remarks
155956
155968
  * [Api set: PowerPointApi 1.6]
@@ -160072,8 +160084,8 @@ declare namespace PowerPoint {
160072
160084
  delete(): void;
160073
160085
  /**
160074
160086
  * Exports the slide to its own presentation file, returned as Base64-encoded data.
160075
- *
160076
- * Note: This method is optimized to export a single slide. Exporting multiple slides can impact performance.
160087
+
160088
+ Note: This method is optimized to export a single slide. Exporting multiple slides can impact performance.
160077
160089
  *
160078
160090
  * @remarks
160079
160091
  * [Api set: PowerPointApi 1.8]
@@ -161215,12 +161227,12 @@ declare namespace PowerPoint {
161215
161227
  /** Gets the loaded child items in this collection. */
161216
161228
  readonly items: PowerPoint.Slide[];
161217
161229
  /**
161218
- * Adds a new slide at the end of the collection.
161230
+ * Adds a new slide to the collection.
161219
161231
  *
161220
161232
  * @remarks
161221
161233
  * [Api set: PowerPointApi 1.3]
161222
161234
  *
161223
- * @param options The options that define the theme of the new slide.
161235
+ * @param options Optional. Options for configuring the properties of the new slide.
161224
161236
  */
161225
161237
  add(options?: PowerPoint.AddSlideOptions): void;
161226
161238
  /**
@@ -162131,6 +162143,12 @@ declare namespace PowerPoint {
162131
162143
  * [Api set: PowerPointApi 1.5]
162132
162144
  */
162133
162145
  id?: string;
162146
+ /**
162147
+ * Returns the title of the presentation.
162148
+ *
162149
+ * @remarks
162150
+ * [Api set: PowerPointApi 1.0]
162151
+ */
162134
162152
  title?: string;
162135
162153
  }
162136
162154
  /** An interface describing the data returned by calling `customXmlPart.toJSON()`. */
@@ -163086,6 +163104,10 @@ declare namespace PowerPoint {
163086
163104
  items?: PowerPoint.Interfaces.SlideMasterData[];
163087
163105
  }
163088
163106
  /**
163107
+ * The `Presentation` object is the top-level object with one or more slides that contain the contents of the presentation.
163108
+ To learn more about the PowerPoint object model,
163109
+ see {@link https://learn.microsoft.com/office/dev/add-ins/powerpoint/core-concepts | PowerPoint JavaScript object model}.
163110
+ *
163089
163111
  * @remarks
163090
163112
  * [Api set: PowerPointApi 1.0]
163091
163113
  */
@@ -163108,6 +163130,12 @@ declare namespace PowerPoint {
163108
163130
  * [Api set: PowerPointApi 1.5]
163109
163131
  */
163110
163132
  id?: boolean;
163133
+ /**
163134
+ * Returns the title of the presentation.
163135
+ *
163136
+ * @remarks
163137
+ * [Api set: PowerPointApi 1.0]
163138
+ */
163111
163139
  title?: boolean;
163112
163140
  }
163113
163141
  /**
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.549",
3
+ "version": "1.0.550",
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": "c60846603ca63a8999f8adaefbc9be91d4bd72097376ae2b8568832eb2ad3818",
49
+ "typesPublisherContentHash": "b1e8be294937c4121c363cd25322de05308826649d3a8f291efbef3228b01bf9",
50
50
  "typeScriptVersion": "5.2"
51
51
  }