@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 +1 -1
- office-js/index.d.ts +4 -2
- office-js/package.json +2 -2
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:
|
|
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
|
|
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
|
|
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.
|
|
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": "
|
|
49
|
+
"typesPublisherContentHash": "25aea09a91afbbdc739e3810ba7949ab694dd14821adb0ec138c2135e723f3ff",
|
|
50
50
|
"typeScriptVersion": "5.2"
|
|
51
51
|
}
|