@types/office-js 1.0.460 → 1.0.462

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: Thu, 30 Jan 2025 16:02:41 GMT
11
+ * Last updated: Fri, 31 Jan 2025 18:02:56 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -3677,7 +3677,7 @@ declare namespace Office {
3677
3677
  *
3678
3678
  * 1. The add-in calls the `enable` method on the `BeforeDocumentCloseNotification` object.
3679
3679
  *
3680
- * 2. When the notification dialog is open, the end user clicks the **Don't close** button within the dialog, clicks the Close button in the upper right corner of the dialog, or presses the Esc key.
3680
+ * 2. When the notification dialog is open, the end user clicks the **Don't close** button within the dialog, clicks the Close button in the upper right corner of the dialog, or presses the <kbd>Esc</kbd> key.
3681
3681
  *
3682
3682
  * The `BeforeDocumentCloseNotification` API is only supported in Excel.
3683
3683
  * @param handler The event handler that is called when the dialog is cancelled.
@@ -91584,6 +91584,8 @@ declare namespace Word {
91584
91584
  *
91585
91585
  * @remarks
91586
91586
  * [Api set: WordApi 1.7]
91587
+ *
91588
+ * Important: This API requires a Microsoft 365 subscription in order to work properly because of an underlying service's requirement. For more about this, see {@link https://github.com/OfficeDev/office-js/issues/4953 | GitHub issue 4953}.
91587
91589
  */
91588
91590
  getAnnotations(): Word.AnnotationCollection;
91589
91591
  /**
@@ -91711,6 +91713,8 @@ declare namespace Word {
91711
91713
  * @remarks
91712
91714
  * [Api set: WordApi 1.7]
91713
91715
  *
91716
+ * Important: This API requires a Microsoft 365 subscription in order to work properly because of an underlying service's requirement. For more about this, see {@link https://github.com/OfficeDev/office-js/issues/4953 | GitHub issue 4953}.
91717
+ *
91714
91718
  * @param annotations Annotations to set.
91715
91719
  * @returns An array of the inserted annotations identifiers.
91716
91720
  */
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.460",
3
+ "version": "1.0.462",
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": "077022c7731ecdf4adcd103340278d166c72664e34c134ef71b68615e972e8b1",
49
+ "typesPublisherContentHash": "3d95d952efcdeb0d44bb5ae14a5ddbe960a780ed3142d3df9021bedb36b1b58c",
50
50
  "typeScriptVersion": "5.0"
51
51
  }