@types/office-js-preview 1.0.288 → 1.0.289

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 (https://github.com/OfficeD
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: Tue, 08 Mar 2022 20:31:43 GMT
11
+ * Last updated: Tue, 08 Mar 2022 22:01:44 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -1077,6 +1077,17 @@ declare namespace Office {
1077
1077
  * For example, an add-in that handles the `ItemSend` event can set `allowEvent` to `false` to cancel sending of the message.
1078
1078
  */
1079
1079
  allowEvent: boolean;
1080
+
1081
+ /**
1082
+ * A string value. When the completed method is used to signal completion of an event handler and if the `allowEvent` option is set to `false`,
1083
+ * this value sets the error message that will be displayed to the user. For an example, refer to
1084
+ * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/smart-alerts-onmessagesend-walkthrough | Smart Alerts walkthrough}.
1085
+ *
1086
+ * [Api set: Mailbox preview]
1087
+ *
1088
+ * @beta
1089
+ */
1090
+ errorMessage?: string;
1080
1091
  }
1081
1092
 
1082
1093
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.288",
3
+ "version": "1.0.289",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "e0f588f913d78b8e7259c290ab8502cebc45c2428743360250ddfe6e480a4f71",
48
+ "typesPublisherContentHash": "2ec8319aa6b15d8657745139101227ff7eb4b1b4ca4c57a842156697eda77d44",
49
49
  "typeScriptVersion": "3.9"
50
50
  }