@types/office-js 1.0.583 → 1.0.584
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 +18 -16
- 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, 20 Mar 2026 16:26:47 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -135623,7 +135623,7 @@ declare namespace Word {
|
|
|
135623
135623
|
unit?: Word.OperationUnit | "Character" | "Word" | "Sentence" | "Paragraph" | "Line" | "Story" | "Screen" | "Section" | "Column" | "Row" | "Window" | "Cell" | "CharacterFormat" | "ParagraphFormat" | "Table" | "Item";
|
|
135624
135624
|
}
|
|
135625
135625
|
/**
|
|
135626
|
-
* Represents the options for the {@link Word.Selection | Selection.
|
|
135626
|
+
* Represents the options for the {@link Word.Selection | Selection.getNextRange} method.
|
|
135627
135627
|
*
|
|
135628
135628
|
* @remarks
|
|
135629
135629
|
* [Api set: WordApiDesktop 1.4]
|
|
@@ -135645,7 +135645,7 @@ declare namespace Word {
|
|
|
135645
135645
|
unit?: Word.OperationUnit | "Character" | "Word" | "Sentence" | "Paragraph" | "Line" | "Story" | "Screen" | "Section" | "Column" | "Row" | "Window" | "Cell" | "CharacterFormat" | "ParagraphFormat" | "Table" | "Item";
|
|
135646
135646
|
}
|
|
135647
135647
|
/**
|
|
135648
|
-
* Represents the options for the {@link Word.Selection | Selection.
|
|
135648
|
+
* Represents the options for the {@link Word.Selection | Selection.getPreviousRange} method.
|
|
135649
135649
|
*
|
|
135650
135650
|
* @remarks
|
|
135651
135651
|
* [Api set: WordApiDesktop 1.4]
|
|
@@ -140264,7 +140264,7 @@ declare namespace Word {
|
|
|
140264
140264
|
/** An interface for updating data on the `CommentContentRange` object, for use in `commentContentRange.set({ ... })`. */
|
|
140265
140265
|
interface CommentContentRangeUpdateData {
|
|
140266
140266
|
/**
|
|
140267
|
-
* Specifies
|
|
140267
|
+
* Specifies whether the comment text is bold.
|
|
140268
140268
|
*
|
|
140269
140269
|
* @remarks
|
|
140270
140270
|
* [Api set: WordApi 1.4]
|
|
@@ -140278,21 +140278,21 @@ declare namespace Word {
|
|
|
140278
140278
|
*/
|
|
140279
140279
|
hyperlink?: string;
|
|
140280
140280
|
/**
|
|
140281
|
-
* Specifies
|
|
140281
|
+
* Specifies whether the comment text is italicized.
|
|
140282
140282
|
*
|
|
140283
140283
|
* @remarks
|
|
140284
140284
|
* [Api set: WordApi 1.4]
|
|
140285
140285
|
*/
|
|
140286
140286
|
italic?: boolean;
|
|
140287
140287
|
/**
|
|
140288
|
-
* Specifies
|
|
140288
|
+
* Specifies whether the comment text has a strikethrough.
|
|
140289
140289
|
*
|
|
140290
140290
|
* @remarks
|
|
140291
140291
|
* [Api set: WordApi 1.4]
|
|
140292
140292
|
*/
|
|
140293
140293
|
strikeThrough?: boolean;
|
|
140294
140294
|
/**
|
|
140295
|
-
* Specifies
|
|
140295
|
+
* Specifies the comment text's underline type. `none` if the comment text isn't underlined.
|
|
140296
140296
|
*
|
|
140297
140297
|
* @remarks
|
|
140298
140298
|
* [Api set: WordApi 1.4]
|
|
@@ -146029,7 +146029,7 @@ declare namespace Word {
|
|
|
146029
146029
|
*/
|
|
146030
146030
|
styleBuiltIn?: Word.BuiltInStyleName | "Other" | "Normal" | "Heading1" | "Heading2" | "Heading3" | "Heading4" | "Heading5" | "Heading6" | "Heading7" | "Heading8" | "Heading9" | "Toc1" | "Toc2" | "Toc3" | "Toc4" | "Toc5" | "Toc6" | "Toc7" | "Toc8" | "Toc9" | "FootnoteText" | "Header" | "Footer" | "Caption" | "FootnoteReference" | "EndnoteReference" | "EndnoteText" | "Title" | "Subtitle" | "Hyperlink" | "Strong" | "Emphasis" | "NoSpacing" | "ListParagraph" | "Quote" | "IntenseQuote" | "SubtleEmphasis" | "IntenseEmphasis" | "SubtleReference" | "IntenseReference" | "BookTitle" | "Bibliography" | "TocHeading" | "TableGrid" | "PlainTable1" | "PlainTable2" | "PlainTable3" | "PlainTable4" | "PlainTable5" | "TableGridLight" | "GridTable1Light" | "GridTable1Light_Accent1" | "GridTable1Light_Accent2" | "GridTable1Light_Accent3" | "GridTable1Light_Accent4" | "GridTable1Light_Accent5" | "GridTable1Light_Accent6" | "GridTable2" | "GridTable2_Accent1" | "GridTable2_Accent2" | "GridTable2_Accent3" | "GridTable2_Accent4" | "GridTable2_Accent5" | "GridTable2_Accent6" | "GridTable3" | "GridTable3_Accent1" | "GridTable3_Accent2" | "GridTable3_Accent3" | "GridTable3_Accent4" | "GridTable3_Accent5" | "GridTable3_Accent6" | "GridTable4" | "GridTable4_Accent1" | "GridTable4_Accent2" | "GridTable4_Accent3" | "GridTable4_Accent4" | "GridTable4_Accent5" | "GridTable4_Accent6" | "GridTable5Dark" | "GridTable5Dark_Accent1" | "GridTable5Dark_Accent2" | "GridTable5Dark_Accent3" | "GridTable5Dark_Accent4" | "GridTable5Dark_Accent5" | "GridTable5Dark_Accent6" | "GridTable6Colorful" | "GridTable6Colorful_Accent1" | "GridTable6Colorful_Accent2" | "GridTable6Colorful_Accent3" | "GridTable6Colorful_Accent4" | "GridTable6Colorful_Accent5" | "GridTable6Colorful_Accent6" | "GridTable7Colorful" | "GridTable7Colorful_Accent1" | "GridTable7Colorful_Accent2" | "GridTable7Colorful_Accent3" | "GridTable7Colorful_Accent4" | "GridTable7Colorful_Accent5" | "GridTable7Colorful_Accent6" | "ListTable1Light" | "ListTable1Light_Accent1" | "ListTable1Light_Accent2" | "ListTable1Light_Accent3" | "ListTable1Light_Accent4" | "ListTable1Light_Accent5" | "ListTable1Light_Accent6" | "ListTable2" | "ListTable2_Accent1" | "ListTable2_Accent2" | "ListTable2_Accent3" | "ListTable2_Accent4" | "ListTable2_Accent5" | "ListTable2_Accent6" | "ListTable3" | "ListTable3_Accent1" | "ListTable3_Accent2" | "ListTable3_Accent3" | "ListTable3_Accent4" | "ListTable3_Accent5" | "ListTable3_Accent6" | "ListTable4" | "ListTable4_Accent1" | "ListTable4_Accent2" | "ListTable4_Accent3" | "ListTable4_Accent4" | "ListTable4_Accent5" | "ListTable4_Accent6" | "ListTable5Dark" | "ListTable5Dark_Accent1" | "ListTable5Dark_Accent2" | "ListTable5Dark_Accent3" | "ListTable5Dark_Accent4" | "ListTable5Dark_Accent5" | "ListTable5Dark_Accent6" | "ListTable6Colorful" | "ListTable6Colorful_Accent1" | "ListTable6Colorful_Accent2" | "ListTable6Colorful_Accent3" | "ListTable6Colorful_Accent4" | "ListTable6Colorful_Accent5" | "ListTable6Colorful_Accent6" | "ListTable7Colorful" | "ListTable7Colorful_Accent1" | "ListTable7Colorful_Accent2" | "ListTable7Colorful_Accent3" | "ListTable7Colorful_Accent4" | "ListTable7Colorful_Accent5" | "ListTable7Colorful_Accent6";
|
|
146031
146031
|
/**
|
|
146032
|
-
* Gets the text of the body. Use the insertText method to insert text.
|
|
146032
|
+
* Gets the text of the body. Use the `insertText` method to insert text.
|
|
146033
146033
|
*
|
|
146034
146034
|
* @remarks
|
|
146035
146035
|
* [Api set: WordApi 1.1]
|
|
@@ -146467,7 +146467,7 @@ declare namespace Word {
|
|
|
146467
146467
|
/** An interface describing the data returned by calling `commentContentRange.toJSON()`. */
|
|
146468
146468
|
interface CommentContentRangeData {
|
|
146469
146469
|
/**
|
|
146470
|
-
* Specifies
|
|
146470
|
+
* Specifies whether the comment text is bold.
|
|
146471
146471
|
*
|
|
146472
146472
|
* @remarks
|
|
146473
146473
|
* [Api set: WordApi 1.4]
|
|
@@ -146488,14 +146488,14 @@ declare namespace Word {
|
|
|
146488
146488
|
*/
|
|
146489
146489
|
isEmpty?: boolean;
|
|
146490
146490
|
/**
|
|
146491
|
-
* Specifies
|
|
146491
|
+
* Specifies whether the comment text is italicized.
|
|
146492
146492
|
*
|
|
146493
146493
|
* @remarks
|
|
146494
146494
|
* [Api set: WordApi 1.4]
|
|
146495
146495
|
*/
|
|
146496
146496
|
italic?: boolean;
|
|
146497
146497
|
/**
|
|
146498
|
-
* Specifies
|
|
146498
|
+
* Specifies whether the comment text has a strikethrough.
|
|
146499
146499
|
*
|
|
146500
146500
|
* @remarks
|
|
146501
146501
|
* [Api set: WordApi 1.4]
|
|
@@ -146509,7 +146509,7 @@ declare namespace Word {
|
|
|
146509
146509
|
*/
|
|
146510
146510
|
text?: string;
|
|
146511
146511
|
/**
|
|
146512
|
-
* Specifies
|
|
146512
|
+
* Specifies the comment text's underline type. `none` if the comment text isn't underlined.
|
|
146513
146513
|
*
|
|
146514
146514
|
* @remarks
|
|
146515
146515
|
* [Api set: WordApi 1.4]
|
|
@@ -154583,7 +154583,7 @@ declare namespace Word {
|
|
|
154583
154583
|
*/
|
|
154584
154584
|
styleBuiltIn?: boolean;
|
|
154585
154585
|
/**
|
|
154586
|
-
* Gets the text of the body. Use the insertText method to insert text.
|
|
154586
|
+
* Gets the text of the body. Use the `insertText` method to insert text.
|
|
154587
154587
|
*
|
|
154588
154588
|
* @remarks
|
|
154589
154589
|
* [Api set: WordApi 1.1]
|
|
@@ -155372,6 +155372,8 @@ declare namespace Word {
|
|
|
155372
155372
|
resolved?: boolean;
|
|
155373
155373
|
}
|
|
155374
155374
|
/**
|
|
155375
|
+
* Represents a content range within a comment.
|
|
155376
|
+
*
|
|
155375
155377
|
* @remarks
|
|
155376
155378
|
* [Api set: WordApi 1.4]
|
|
155377
155379
|
*/
|
|
@@ -155381,7 +155383,7 @@ declare namespace Word {
|
|
|
155381
155383
|
*/
|
|
155382
155384
|
$all?: boolean;
|
|
155383
155385
|
/**
|
|
155384
|
-
* Specifies
|
|
155386
|
+
* Specifies whether the comment text is bold.
|
|
155385
155387
|
*
|
|
155386
155388
|
* @remarks
|
|
155387
155389
|
* [Api set: WordApi 1.4]
|
|
@@ -155402,14 +155404,14 @@ declare namespace Word {
|
|
|
155402
155404
|
*/
|
|
155403
155405
|
isEmpty?: boolean;
|
|
155404
155406
|
/**
|
|
155405
|
-
* Specifies
|
|
155407
|
+
* Specifies whether the comment text is italicized.
|
|
155406
155408
|
*
|
|
155407
155409
|
* @remarks
|
|
155408
155410
|
* [Api set: WordApi 1.4]
|
|
155409
155411
|
*/
|
|
155410
155412
|
italic?: boolean;
|
|
155411
155413
|
/**
|
|
155412
|
-
* Specifies
|
|
155414
|
+
* Specifies whether the comment text has a strikethrough.
|
|
155413
155415
|
*
|
|
155414
155416
|
* @remarks
|
|
155415
155417
|
* [Api set: WordApi 1.4]
|
|
@@ -155423,7 +155425,7 @@ declare namespace Word {
|
|
|
155423
155425
|
*/
|
|
155424
155426
|
text?: boolean;
|
|
155425
155427
|
/**
|
|
155426
|
-
* Specifies
|
|
155428
|
+
* Specifies the comment text's underline type. `none` if the comment text isn't underlined.
|
|
155427
155429
|
*
|
|
155428
155430
|
* @remarks
|
|
155429
155431
|
* [Api set: WordApi 1.4]
|
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.584",
|
|
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": "8adb5a53e024e02bc5e3ea0072125ac2857a385039aa47834089e2a4618c2bc1",
|
|
50
50
|
"typeScriptVersion": "5.2"
|
|
51
51
|
}
|