@types/office-js-preview 1.0.696 → 1.0.698

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.
@@ -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: 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
@@ -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
  /**
@@ -106374,14 +106378,14 @@ declare namespace Word {
106374
106378
  */
106375
106379
  appearance: Word.ContentControlAppearance | "BoundingBox" | "Tags" | "Hidden";
106376
106380
  /**
106377
- * Specifies a value that indicates whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
106381
+ * Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
106378
106382
  *
106379
106383
  * @remarks
106380
106384
  * [Api set: WordApi 1.1]
106381
106385
  */
106382
106386
  cannotDelete: boolean;
106383
106387
  /**
106384
- * Specifies a value that indicates whether the user can edit the contents of the content control.
106388
+ * Specifies whether the user can edit the contents of the content control.
106385
106389
  *
106386
106390
  * @remarks
106387
106391
  * [Api set: WordApi 1.1]
@@ -106409,7 +106413,7 @@ declare namespace Word {
106409
106413
  */
106410
106414
  placeholderText: string;
106411
106415
  /**
106412
- * Specifies a value that indicates whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
106416
+ * Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
106413
106417
  *
106414
106418
  * @remarks
106415
106419
  * [Api set: WordApi 1.1]
@@ -107377,7 +107381,7 @@ declare namespace Word {
107377
107381
  */
107378
107382
  schemaCollection: Word.CustomXmlSchemaCollection;
107379
107383
  /**
107380
- * Gets a value that indicates whether the `CustomXmlPart` is built-in.
107384
+ * Gets whether the `CustomXmlPart` is built-in.
107381
107385
  *
107382
107386
  * @remarks
107383
107387
  * [Api set: WordApiDesktop 1.3]
@@ -111784,7 +111788,7 @@ declare namespace Word {
111784
111788
  */
111785
111789
  readonly imageFormat: Word.ImageFormat | "Unsupported" | "Undefined" | "Bmp" | "Jpeg" | "Gif" | "Tiff" | "Png" | "Icon" | "Exif" | "Wmf" | "Emf" | "Pict" | "Pdf" | "Svg";
111786
111790
  /**
111787
- * Specifies a value that indicates whether the inline image retains its original proportions when you resize it.
111791
+ * Specifies whether the inline image retains its original proportions when you resize it.
111788
111792
  *
111789
111793
  * @remarks
111790
111794
  * [Api set: WordApi 1.1]
@@ -144294,7 +144298,7 @@ declare namespace Word {
144294
144298
  */
144295
144299
  interface SelectionInsertSymbolOptions {
144296
144300
  /**
144297
- * 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`.
144301
+ * 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`.
144298
144302
  *
144299
144303
  * @remarks
144300
144304
  * [Api set: WordApiDesktop 1.4]
@@ -149464,14 +149468,14 @@ declare namespace Word {
149464
149468
  */
149465
149469
  appearance?: Word.ContentControlAppearance | "BoundingBox" | "Tags" | "Hidden";
149466
149470
  /**
149467
- * Specifies a value that indicates whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
149471
+ * Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
149468
149472
  *
149469
149473
  * @remarks
149470
149474
  * [Api set: WordApi 1.1]
149471
149475
  */
149472
149476
  cannotDelete?: boolean;
149473
149477
  /**
149474
- * Specifies a value that indicates whether the user can edit the contents of the content control.
149478
+ * Specifies whether the user can edit the contents of the content control.
149475
149479
  *
149476
149480
  * @remarks
149477
149481
  * [Api set: WordApi 1.1]
@@ -149492,7 +149496,7 @@ declare namespace Word {
149492
149496
  */
149493
149497
  placeholderText?: string;
149494
149498
  /**
149495
- * Specifies a value that indicates whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
149499
+ * Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
149496
149500
  *
149497
149501
  * @remarks
149498
149502
  * [Api set: WordApi 1.1]
@@ -150727,7 +150731,7 @@ declare namespace Word {
150727
150731
  */
150728
150732
  hyperlink?: string;
150729
150733
  /**
150730
- * Specifies a value that indicates whether the inline image retains its original proportions when you resize it.
150734
+ * Specifies whether the inline image retains its original proportions when you resize it.
150731
150735
  *
150732
150736
  * @remarks
150733
150737
  * [Api set: WordApi 1.1]
@@ -155942,14 +155946,14 @@ declare namespace Word {
155942
155946
  */
155943
155947
  appearance?: Word.ContentControlAppearance | "BoundingBox" | "Tags" | "Hidden";
155944
155948
  /**
155945
- * Specifies a value that indicates whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
155949
+ * Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
155946
155950
  *
155947
155951
  * @remarks
155948
155952
  * [Api set: WordApi 1.1]
155949
155953
  */
155950
155954
  cannotDelete?: boolean;
155951
155955
  /**
155952
- * Specifies a value that indicates whether the user can edit the contents of the content control.
155956
+ * Specifies whether the user can edit the contents of the content control.
155953
155957
  *
155954
155958
  * @remarks
155955
155959
  * [Api set: WordApi 1.1]
@@ -155977,7 +155981,7 @@ declare namespace Word {
155977
155981
  */
155978
155982
  placeholderText?: string;
155979
155983
  /**
155980
- * Specifies a value that indicates whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
155984
+ * Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
155981
155985
  *
155982
155986
  * @remarks
155983
155987
  * [Api set: WordApi 1.1]
@@ -156125,7 +156129,7 @@ declare namespace Word {
156125
156129
  */
156126
156130
  schemaCollection?: Word.Interfaces.CustomXmlSchemaData[];
156127
156131
  /**
156128
- * Gets a value that indicates whether the `CustomXmlPart` is built-in.
156132
+ * Gets whether the `CustomXmlPart` is built-in.
156129
156133
  *
156130
156134
  * @remarks
156131
156135
  * [Api set: WordApiDesktop 1.3]
@@ -157716,7 +157720,7 @@ declare namespace Word {
157716
157720
  */
157717
157721
  imageFormat?: Word.ImageFormat | "Unsupported" | "Undefined" | "Bmp" | "Jpeg" | "Gif" | "Tiff" | "Png" | "Icon" | "Exif" | "Wmf" | "Emf" | "Pict" | "Pdf" | "Svg";
157718
157722
  /**
157719
- * Specifies a value that indicates whether the inline image retains its original proportions when you resize it.
157723
+ * Specifies whether the inline image retains its original proportions when you resize it.
157720
157724
  *
157721
157725
  * @remarks
157722
157726
  * [Api set: WordApi 1.1]
@@ -165281,14 +165285,14 @@ declare namespace Word {
165281
165285
  */
165282
165286
  appearance?: boolean;
165283
165287
  /**
165284
- * Specifies a value that indicates whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
165288
+ * Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
165285
165289
  *
165286
165290
  * @remarks
165287
165291
  * [Api set: WordApi 1.1]
165288
165292
  */
165289
165293
  cannotDelete?: boolean;
165290
165294
  /**
165291
- * Specifies a value that indicates whether the user can edit the contents of the content control.
165295
+ * Specifies whether the user can edit the contents of the content control.
165292
165296
  *
165293
165297
  * @remarks
165294
165298
  * [Api set: WordApi 1.1]
@@ -165316,7 +165320,7 @@ declare namespace Word {
165316
165320
  */
165317
165321
  placeholderText?: boolean;
165318
165322
  /**
165319
- * Specifies a value that indicates whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
165323
+ * Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
165320
165324
  *
165321
165325
  * @remarks
165322
165326
  * [Api set: WordApi 1.1]
@@ -165496,14 +165500,14 @@ declare namespace Word {
165496
165500
  */
165497
165501
  appearance?: boolean;
165498
165502
  /**
165499
- * For EACH ITEM in the collection: Specifies a value that indicates whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
165503
+ * For EACH ITEM in the collection: Specifies whether the user can delete the content control. Mutually exclusive with `removeWhenEdited`.
165500
165504
  *
165501
165505
  * @remarks
165502
165506
  * [Api set: WordApi 1.1]
165503
165507
  */
165504
165508
  cannotDelete?: boolean;
165505
165509
  /**
165506
- * For EACH ITEM in the collection: Specifies a value that indicates whether the user can edit the contents of the content control.
165510
+ * For EACH ITEM in the collection: Specifies whether the user can edit the contents of the content control.
165507
165511
  *
165508
165512
  * @remarks
165509
165513
  * [Api set: WordApi 1.1]
@@ -165531,7 +165535,7 @@ declare namespace Word {
165531
165535
  */
165532
165536
  placeholderText?: boolean;
165533
165537
  /**
165534
- * 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`.
165538
+ * For EACH ITEM in the collection: Specifies whether the content control is removed after it's edited. Mutually exclusive with `cannotDelete`.
165535
165539
  *
165536
165540
  * @remarks
165537
165541
  * [Api set: WordApi 1.1]
@@ -165738,7 +165742,7 @@ declare namespace Word {
165738
165742
  */
165739
165743
  documentElement?: Word.Interfaces.CustomXmlNodeLoadOptions;
165740
165744
  /**
165741
- * Gets a value that indicates whether the `CustomXmlPart` is built-in.
165745
+ * Gets whether the `CustomXmlPart` is built-in.
165742
165746
  *
165743
165747
  * @remarks
165744
165748
  * [Api set: WordApiDesktop 1.3]
@@ -165785,7 +165789,7 @@ declare namespace Word {
165785
165789
  */
165786
165790
  documentElement?: Word.Interfaces.CustomXmlNodeLoadOptions;
165787
165791
  /**
165788
- * For EACH ITEM in the collection: Gets a value that indicates whether the `CustomXmlPart` is built-in.
165792
+ * For EACH ITEM in the collection: Gets whether the `CustomXmlPart` is built-in.
165789
165793
  *
165790
165794
  * @remarks
165791
165795
  * [Api set: WordApiDesktop 1.3]
@@ -165832,7 +165836,7 @@ declare namespace Word {
165832
165836
  */
165833
165837
  documentElement?: Word.Interfaces.CustomXmlNodeLoadOptions;
165834
165838
  /**
165835
- * For EACH ITEM in the collection: Gets a value that indicates whether the `CustomXmlPart` is built-in.
165839
+ * For EACH ITEM in the collection: Gets whether the `CustomXmlPart` is built-in.
165836
165840
  *
165837
165841
  * @remarks
165838
165842
  * [Api set: WordApiDesktop 1.3]
@@ -167760,7 +167764,7 @@ declare namespace Word {
167760
167764
  */
167761
167765
  imageFormat?: boolean;
167762
167766
  /**
167763
- * Specifies a value that indicates whether the inline image retains its original proportions when you resize it.
167767
+ * Specifies whether the inline image retains its original proportions when you resize it.
167764
167768
  *
167765
167769
  * @remarks
167766
167770
  * [Api set: WordApi 1.1]
@@ -167870,7 +167874,7 @@ declare namespace Word {
167870
167874
  */
167871
167875
  imageFormat?: boolean;
167872
167876
  /**
167873
- * For EACH ITEM in the collection: Specifies a value that indicates whether the inline image retains its original proportions when you resize it.
167877
+ * For EACH ITEM in the collection: Specifies whether the inline image retains its original proportions when you resize it.
167874
167878
  *
167875
167879
  * @remarks
167876
167880
  * [Api set: WordApi 1.1]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.696",
3
+ "version": "1.0.698",
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": "957ea6b05bfb01d8487c2cc04d2461733b71451437d855cd4c062726a86b22ad",
50
- "typeScriptVersion": "5.2",
49
+ "typesPublisherContentHash": "d1c94c3c4ec381981ca2f36a55ebc3e53fc46d0c01973a3975cdc83234427c22",
50
+ "typeScriptVersion": "5.3",
51
51
  "nonNpm": true
52
52
  }