@types/office-js 1.0.585 → 1.0.587

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: Wed, 25 Mar 2026 21:44:56 GMT
11
+ * Last updated: Fri, 03 Apr 2026 16:45:01 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
  /**
@@ -24571,7 +24575,11 @@ declare namespace Office {
24571
24575
  *
24572
24576
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
24573
24577
  *
24574
- * **Important**: The error message must be 500 characters or less.
24578
+ * **Important**:
24579
+ *
24580
+ * - The error message must be 500 characters or less.
24581
+ *
24582
+ * - If you don't specify a message in the `errorMessage` property, the following default message is shown instead: "\<Add-in name\> is preventing this email from being sent."
24575
24583
  */
24576
24584
  errorMessage?: string;
24577
24585
  /**
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.585",
3
+ "version": "1.0.587",
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": "acd55baea0d9ffec68a111428ef1136958655793d0ae253ab6fd5280867e803b",
49
+ "typesPublisherContentHash": "e80e02ef90504ebf6b542758b7cde5cb14f4d0f214460667311cccbfb548d1b6",
50
50
  "typeScriptVersion": "5.3"
51
51
  }