@types/office-js 1.0.273 → 1.0.274

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: Mon, 29 Aug 2022 23:32:43 GMT
11
+ * Last updated: Wed, 31 Aug 2022 17:32:44 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
office-js/index.d.ts CHANGED
@@ -11803,14 +11803,17 @@ declare namespace Office {
11803
11803
  /**
11804
11804
  * Appends on send the specified content to the end of the item body, after any signature.
11805
11805
  *
11806
- * If the user is running add-ins that implement the
11807
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows | on-send feature using `ItemSend` in the manifest},
11808
- * append-on-send runs before on-send functionality.
11809
- *
11810
- * **Important**: If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
11811
- * the `appendOnSendAsync` call returns an error as this scenario is not supported.
11806
+ * To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission. To learn more
11807
+ * about append-on-send and its configuration, see
11808
+ * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/append-on-send | Implement append-on-send in your Outlook add-in}.
11809
+ *
11810
+ * **Important**: If the {@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows | on-send feature}
11811
+ * is implemented with append-on-send, the following apply.
11812
+ *
11813
+ * - If the user is running add-ins that implement the on-send feature using `ItemSend` in the manifest, append-on-send runs before on-send functionality.
11812
11814
  *
11813
- * **Important**: To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission.
11815
+ * - If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
11816
+ * the `appendOnSendAsync` call returns an error as this scenario isn't supported.
11814
11817
  *
11815
11818
  * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11816
11819
  *
@@ -11840,14 +11843,17 @@ declare namespace Office {
11840
11843
  /**
11841
11844
  * Appends on send the specified content to the end of the item body, after any signature.
11842
11845
  *
11843
- * If the user is running add-ins that implement the
11844
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows | on-send feature using `ItemSend` in the manifest},
11845
- * append-on-send runs before on-send functionality.
11846
- *
11847
- * **Important**: If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
11848
- * the `appendOnSendAsync` call returns an error as this scenario is not supported.
11846
+ * To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission. To learn more
11847
+ * about append-on-send and its configuration, see
11848
+ * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/append-on-send | Implement append-on-send in your Outlook add-in}.
11849
+ *
11850
+ * **Important**: If the {@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows | on-send feature}
11851
+ * is implemented with append-on-send, the following apply.
11852
+ *
11853
+ * - If the user is running add-ins that implement the on-send feature using `ItemSend` in the manifest, append-on-send runs before on-send functionality.
11849
11854
  *
11850
- * **Important**: To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission.
11855
+ * - If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
11856
+ * the `appendOnSendAsync` call returns an error as this scenario isn't supported.
11851
11857
  *
11852
11858
  * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11853
11859
  *
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.273",
3
+ "version": "1.0.274",
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",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "259cf2bcde08dabe6367345d9072f2ea044b6315871c61a5a1f63ab3b90bb229",
49
- "typeScriptVersion": "4.0"
48
+ "typesPublisherContentHash": "916f52dc93ca4c42ea21844a3e60c9b40232999634e667cd470340f1f67b9416",
49
+ "typeScriptVersion": "4.1"
50
50
  }