@types/office-js-preview 1.0.691 → 1.0.693
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-preview/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
|
|
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-preview/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>;
|
|
@@ -104376,12 +104378,12 @@ declare namespace Word {
|
|
|
104376
104378
|
/** Sets multiple properties on the object at the same time, based on an existing loaded object. */
|
|
104377
104379
|
set(properties: Word.CommentContentRange): void;
|
|
104378
104380
|
/**
|
|
104379
|
-
* Inserts text
|
|
104381
|
+
* 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.
|
|
104380
104382
|
*
|
|
104381
104383
|
* @remarks
|
|
104382
104384
|
* [Api set: WordApi 1.4]
|
|
104383
104385
|
*
|
|
104384
|
-
* @param text The text to be inserted
|
|
104386
|
+
* @param text The text to be inserted into the `CommentContentRange` object.
|
|
104385
104387
|
* @param insertLocation The value must be `replace`, `start`, `end`, `before`, or `after`.
|
|
104386
104388
|
*/
|
|
104387
104389
|
insertText(text: string, insertLocation: Word.InsertLocation | "Replace" | "Start" | "End" | "Before" | "After"): Word.CommentContentRange;
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.693",
|
|
4
4
|
"description": "TypeScript definitions for office-js-preview",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "a459c0022c5980e3097e010aa4c69005b2e9bc3e14fefe0c26e7cac8668965b4",
|
|
50
50
|
"typeScriptVersion": "5.2",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|