@types/office-js 1.0.584 → 1.0.586

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: Fri, 20 Mar 2026 16:26:47 GMT
11
+ * Last updated: Tue, 31 Mar 2026 17:20:17 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -3680,7 +3680,7 @@ declare namespace Office {
3680
3680
  *
3681
3681
  * **Hosts**: Excel, OneNote, Outlook, PowerPoint, Word
3682
3682
  *
3683
- * **Requirement set**: NestedAppAuth 1.1
3683
+ * **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/nested-app-auth-requirement-sets | NestedAppAuth 1.1}
3684
3684
  *
3685
3685
  * @returns Promise to the AuthContext object.
3686
3686
  */
@@ -3743,6 +3743,10 @@ declare namespace Office {
3743
3743
  }
3744
3744
  /**
3745
3745
  * Represents the user information which can be passed to the Microsoft Authentication Library for JavaScript (MSAL.js).
3746
+ *
3747
+ * @remarks
3748
+ *
3749
+ * **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/nested-app-auth-requirement-sets | NestedAppAuth 1.1}
3746
3750
  */
3747
3751
  interface AuthContext {
3748
3752
  /**
@@ -99536,14 +99540,14 @@ declare namespace Word {
99536
99540
  */
99537
99541
  appearance: Word.ContentControlAppearance | "BoundingBox" | "Tags" | "Hidden";
99538
99542
  /**
99539
- * Specifies a value that indicates whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
99543
+ * Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
99540
99544
  *
99541
99545
  * @remarks
99542
99546
  * [Api set: WordApi 1.1]
99543
99547
  */
99544
99548
  cannotDelete: boolean;
99545
99549
  /**
99546
- * Specifies a value that indicates whether the user can edit the contents of the content control.
99550
+ * Specifies whether the user can edit the contents of the content control.
99547
99551
  *
99548
99552
  * @remarks
99549
99553
  * [Api set: WordApi 1.1]
@@ -99571,7 +99575,7 @@ declare namespace Word {
99571
99575
  */
99572
99576
  placeholderText: string;
99573
99577
  /**
99574
- * Specifies a value that indicates whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
99578
+ * Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
99575
99579
  *
99576
99580
  * @remarks
99577
99581
  * [Api set: WordApi 1.1]
@@ -100463,7 +100467,7 @@ declare namespace Word {
100463
100467
  */
100464
100468
  schemaCollection: Word.CustomXmlSchemaCollection;
100465
100469
  /**
100466
- * Gets a value that indicates whether the `CustomXmlPart` is built-in.
100470
+ * Gets whether the `CustomXmlPart` is built-in.
100467
100471
  *
100468
100472
  * @remarks
100469
100473
  * [Api set: WordApiDesktop 1.3]
@@ -104622,7 +104626,7 @@ declare namespace Word {
104622
104626
  */
104623
104627
  readonly imageFormat: Word.ImageFormat | "Unsupported" | "Undefined" | "Bmp" | "Jpeg" | "Gif" | "Tiff" | "Png" | "Icon" | "Exif" | "Wmf" | "Emf" | "Pict" | "Pdf" | "Svg";
104624
104628
  /**
104625
- * Specifies a value that indicates whether the inline image retains its original proportions when you resize it.
104629
+ * Specifies whether the inline image retains its original proportions when you resize it.
104626
104630
  *
104627
104631
  * @remarks
104628
104632
  * [Api set: WordApi 1.1]
@@ -135499,7 +135503,7 @@ declare namespace Word {
135499
135503
  */
135500
135504
  interface SelectionInsertSymbolOptions {
135501
135505
  /**
135502
- * If provided, specifies the font bias for symbols. This argument is useful for setting the correct font bias for East Asian characters. The default value is `default`.
135506
+ * If provided, specifies the font bias for symbols. This argument is useful for setting the correct font bias for East Asian characters. The default value is `standard`.
135503
135507
  *
135504
135508
  * @remarks
135505
135509
  * [Api set: WordApiDesktop 1.4]
@@ -140512,14 +140516,14 @@ declare namespace Word {
140512
140516
  */
140513
140517
  appearance?: Word.ContentControlAppearance | "BoundingBox" | "Tags" | "Hidden";
140514
140518
  /**
140515
- * Specifies a value that indicates whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
140519
+ * Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
140516
140520
  *
140517
140521
  * @remarks
140518
140522
  * [Api set: WordApi 1.1]
140519
140523
  */
140520
140524
  cannotDelete?: boolean;
140521
140525
  /**
140522
- * Specifies a value that indicates whether the user can edit the contents of the content control.
140526
+ * Specifies whether the user can edit the contents of the content control.
140523
140527
  *
140524
140528
  * @remarks
140525
140529
  * [Api set: WordApi 1.1]
@@ -140540,7 +140544,7 @@ declare namespace Word {
140540
140544
  */
140541
140545
  placeholderText?: string;
140542
140546
  /**
140543
- * Specifies a value that indicates whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
140547
+ * Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
140544
140548
  *
140545
140549
  * @remarks
140546
140550
  * [Api set: WordApi 1.1]
@@ -141775,7 +141779,7 @@ declare namespace Word {
141775
141779
  */
141776
141780
  hyperlink?: string;
141777
141781
  /**
141778
- * Specifies a value that indicates whether the inline image retains its original proportions when you resize it.
141782
+ * Specifies whether the inline image retains its original proportions when you resize it.
141779
141783
  *
141780
141784
  * @remarks
141781
141785
  * [Api set: WordApi 1.1]
@@ -146919,14 +146923,14 @@ declare namespace Word {
146919
146923
  */
146920
146924
  appearance?: Word.ContentControlAppearance | "BoundingBox" | "Tags" | "Hidden";
146921
146925
  /**
146922
- * Specifies a value that indicates whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
146926
+ * Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
146923
146927
  *
146924
146928
  * @remarks
146925
146929
  * [Api set: WordApi 1.1]
146926
146930
  */
146927
146931
  cannotDelete?: boolean;
146928
146932
  /**
146929
- * Specifies a value that indicates whether the user can edit the contents of the content control.
146933
+ * Specifies whether the user can edit the contents of the content control.
146930
146934
  *
146931
146935
  * @remarks
146932
146936
  * [Api set: WordApi 1.1]
@@ -146954,7 +146958,7 @@ declare namespace Word {
146954
146958
  */
146955
146959
  placeholderText?: string;
146956
146960
  /**
146957
- * Specifies a value that indicates whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
146961
+ * Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
146958
146962
  *
146959
146963
  * @remarks
146960
146964
  * [Api set: WordApi 1.1]
@@ -147094,7 +147098,7 @@ declare namespace Word {
147094
147098
  */
147095
147099
  schemaCollection?: Word.Interfaces.CustomXmlSchemaData[];
147096
147100
  /**
147097
- * Gets a value that indicates whether the `CustomXmlPart` is built-in.
147101
+ * Gets whether the `CustomXmlPart` is built-in.
147098
147102
  *
147099
147103
  * @remarks
147100
147104
  * [Api set: WordApiDesktop 1.3]
@@ -148685,7 +148689,7 @@ declare namespace Word {
148685
148689
  */
148686
148690
  imageFormat?: Word.ImageFormat | "Unsupported" | "Undefined" | "Bmp" | "Jpeg" | "Gif" | "Tiff" | "Png" | "Icon" | "Exif" | "Wmf" | "Emf" | "Pict" | "Pdf" | "Svg";
148687
148691
  /**
148688
- * Specifies a value that indicates whether the inline image retains its original proportions when you resize it.
148692
+ * Specifies whether the inline image retains its original proportions when you resize it.
148689
148693
  *
148690
148694
  * @remarks
148691
148695
  * [Api set: WordApi 1.1]
@@ -156096,14 +156100,14 @@ declare namespace Word {
156096
156100
  */
156097
156101
  appearance?: boolean;
156098
156102
  /**
156099
- * Specifies a value that indicates whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
156103
+ * Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
156100
156104
  *
156101
156105
  * @remarks
156102
156106
  * [Api set: WordApi 1.1]
156103
156107
  */
156104
156108
  cannotDelete?: boolean;
156105
156109
  /**
156106
- * Specifies a value that indicates whether the user can edit the contents of the content control.
156110
+ * Specifies whether the user can edit the contents of the content control.
156107
156111
  *
156108
156112
  * @remarks
156109
156113
  * [Api set: WordApi 1.1]
@@ -156131,7 +156135,7 @@ declare namespace Word {
156131
156135
  */
156132
156136
  placeholderText?: boolean;
156133
156137
  /**
156134
- * Specifies a value that indicates whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
156138
+ * Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
156135
156139
  *
156136
156140
  * @remarks
156137
156141
  * [Api set: WordApi 1.1]
@@ -156311,14 +156315,14 @@ declare namespace Word {
156311
156315
  */
156312
156316
  appearance?: boolean;
156313
156317
  /**
156314
- * For EACH ITEM in the collection: Specifies a value that indicates whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
156318
+ * For EACH ITEM in the collection: Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
156315
156319
  *
156316
156320
  * @remarks
156317
156321
  * [Api set: WordApi 1.1]
156318
156322
  */
156319
156323
  cannotDelete?: boolean;
156320
156324
  /**
156321
- * For EACH ITEM in the collection: Specifies a value that indicates whether the user can edit the contents of the content control.
156325
+ * For EACH ITEM in the collection: Specifies whether the user can edit the contents of the content control.
156322
156326
  *
156323
156327
  * @remarks
156324
156328
  * [Api set: WordApi 1.1]
@@ -156346,7 +156350,7 @@ declare namespace Word {
156346
156350
  */
156347
156351
  placeholderText?: boolean;
156348
156352
  /**
156349
- * For EACH ITEM in the collection: Specifies a value that indicates whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
156353
+ * For EACH ITEM in the collection: Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
156350
156354
  *
156351
156355
  * @remarks
156352
156356
  * [Api set: WordApi 1.1]
@@ -156553,7 +156557,7 @@ declare namespace Word {
156553
156557
  */
156554
156558
  documentElement?: Word.Interfaces.CustomXmlNodeLoadOptions;
156555
156559
  /**
156556
- * Gets a value that indicates whether the `CustomXmlPart` is built-in.
156560
+ * Gets whether the `CustomXmlPart` is built-in.
156557
156561
  *
156558
156562
  * @remarks
156559
156563
  * [Api set: WordApiDesktop 1.3]
@@ -156600,7 +156604,7 @@ declare namespace Word {
156600
156604
  */
156601
156605
  documentElement?: Word.Interfaces.CustomXmlNodeLoadOptions;
156602
156606
  /**
156603
- * For EACH ITEM in the collection: Gets a value that indicates whether the `CustomXmlPart` is built-in.
156607
+ * For EACH ITEM in the collection: Gets whether the `CustomXmlPart` is built-in.
156604
156608
  *
156605
156609
  * @remarks
156606
156610
  * [Api set: WordApiDesktop 1.3]
@@ -156647,7 +156651,7 @@ declare namespace Word {
156647
156651
  */
156648
156652
  documentElement?: Word.Interfaces.CustomXmlNodeLoadOptions;
156649
156653
  /**
156650
- * For EACH ITEM in the collection: Gets a value that indicates whether the `CustomXmlPart` is built-in.
156654
+ * For EACH ITEM in the collection: Gets whether the `CustomXmlPart` is built-in.
156651
156655
  *
156652
156656
  * @remarks
156653
156657
  * [Api set: WordApiDesktop 1.3]
@@ -158575,7 +158579,7 @@ declare namespace Word {
158575
158579
  */
158576
158580
  imageFormat?: boolean;
158577
158581
  /**
158578
- * Specifies a value that indicates whether the inline image retains its original proportions when you resize it.
158582
+ * Specifies whether the inline image retains its original proportions when you resize it.
158579
158583
  *
158580
158584
  * @remarks
158581
158585
  * [Api set: WordApi 1.1]
@@ -158685,7 +158689,7 @@ declare namespace Word {
158685
158689
  */
158686
158690
  imageFormat?: boolean;
158687
158691
  /**
158688
- * For EACH ITEM in the collection: Specifies a value that indicates whether the inline image retains its original proportions when you resize it.
158692
+ * For EACH ITEM in the collection: Specifies whether the inline image retains its original proportions when you resize it.
158689
158693
  *
158690
158694
  * @remarks
158691
158695
  * [Api set: WordApi 1.1]
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.584",
3
+ "version": "1.0.586",
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": "8adb5a53e024e02bc5e3ea0072125ac2857a385039aa47834089e2a4618c2bc1",
50
- "typeScriptVersion": "5.2"
49
+ "typesPublisherContentHash": "a576e183a9db53cfc9f1dfed4dda222332816485705720f4555c938ec152deb3",
50
+ "typeScriptVersion": "5.3"
51
51
  }