@types/office-js 1.0.579 → 1.0.581

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: Wed, 25 Feb 2026 22:44:16 GMT
11
+ * Last updated: Fri, 06 Mar 2026 16:09:03 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -3331,6 +3331,8 @@ declare namespace Office {
3331
3331
  * @returns A promise that is resolved when the UI is shown.
3332
3332
  *
3333
3333
  * @remarks
3334
+ * This method applies only to centrally deployed or sideloaded add-ins. For add-ins published in the Microsoft Marketplace, the method is ignored and the task pane doesn't open.
3335
+ *
3334
3336
  * **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1}
3335
3337
  */
3336
3338
  showAsTaskpane(): Promise<void>;
@@ -97981,12 +97983,12 @@ declare namespace Word {
97981
97983
  /** Sets multiple properties on the object at the same time, based on an existing loaded object. */
97982
97984
  set(properties: Word.CommentContentRange): void;
97983
97985
  /**
97984
- * Inserts text into at the specified location. **Note**: For the modern comment, the content range tracked across context turns to empty if any revision to the comment is posted through the UI.
97986
+ * Inserts text at the specified location. **Note**: For the modern comment, the content range tracked across context turns to empty if any revision to the comment is posted through the UI.
97985
97987
  *
97986
97988
  * @remarks
97987
97989
  * [Api set: WordApi 1.4]
97988
97990
  *
97989
- * @param text The text to be inserted in to the `CommentContentRange`.
97991
+ * @param text The text to be inserted into the `CommentContentRange` object.
97990
97992
  * @param insertLocation The value must be `replace`, `start`, `end`, `before`, or `after`.
97991
97993
  */
97992
97994
  insertText(text: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.CommentContentRange;
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.579",
3
+ "version": "1.0.581",
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": "bdf4675c2cdde4a58d06a0c3d6105e1c90faff244700aee5eca5e67d0b191420",
49
+ "typesPublisherContentHash": "25aea09a91afbbdc739e3810ba7949ab694dd14821adb0ec138c2135e723f3ff",
50
50
  "typeScriptVersion": "5.2"
51
51
  }