@types/office-js-preview 1.0.652 → 1.0.653
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, 17 Oct 2025 17:02:25 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -148265,6 +148265,18 @@ declare namespace Word {
|
|
|
148265
148265
|
context: RequestContext;
|
|
148266
148266
|
/** Gets the loaded child items in this collection. */
|
|
148267
148267
|
readonly items: Word.Bookmark[];
|
|
148268
|
+
/**
|
|
148269
|
+
* Returns a `Bookmark` object that represents a bookmark added to a range.
|
|
148270
|
+
*
|
|
148271
|
+
* @remarks
|
|
148272
|
+
* [Api set: WordApi BETA (PREVIEW ONLY)]
|
|
148273
|
+
* @beta
|
|
148274
|
+
*
|
|
148275
|
+
* @param name The name of the bookmark. The name cannot be more than 40 characters or include more than one word. Also, the name must begin with a letter. It can include both numbers and letters, but not spaces. If you need to separate words, use an underscore.
|
|
148276
|
+
* @param range Optional. The range of text marked by the bookmark. A bookmark can be set to a collapsed range (the insertion point).
|
|
148277
|
+
* @returns A new `Bookmark` object.
|
|
148278
|
+
*/
|
|
148279
|
+
add(name: string, range: Word.Range): Word.Bookmark;
|
|
148268
148280
|
/**
|
|
148269
148281
|
* Determines whether the specified bookmark exists.
|
|
148270
148282
|
*
|
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.653",
|
|
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": "499245a841c0ef4b05687fe3f4badee84ac7a364bfec656ad8686ec1a3f7b9b9",
|
|
50
50
|
"typeScriptVersion": "5.2",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|