@types/office-js 1.0.486 → 1.0.487

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: Fri, 28 Mar 2025 15:02:12 GMT
11
+ * Last updated: Tue, 01 Apr 2025 18:39:20 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -641,14 +641,20 @@ declare namespace Office {
641
641
  /**
642
642
  * Occurs in Outlook when an action is selected on a notification message with a defined
643
643
  * {@link https://learn.microsoft.com/javascript/api/outlook/office.notificationmessagedetails#actions | custom action}.
644
- * Currently, "Dismiss" is the only supported action that fires this event.
645
- *
646
- * **Important**: This event can only be handled in a task pane. Function commands can't register a handler for this event.
644
+ * Currently, **Dismiss** is the only supported action that fires this event.
647
645
  *
648
646
  * To add an event handler for the `InfobarClicked` event, use the `addHandlerAsync` method of the `Item` object.
649
647
  * The event handler receives an argument of type
650
648
  * {@link https://learn.microsoft.com/javascript/api/outlook/office.infobarclickedeventargs?view=outlook-js-1.10 | Office.InfobarClickedEventArgs}.
651
649
  *
650
+ * **Important**:
651
+ *
652
+ * - This event can only be handled in a task pane. Function commands can't register a handler for this event.
653
+ *
654
+ * - Although Outlook on Mac supports the `InsightMessage` notification type, it currently doesn't support the `InfobarClicked` event.
655
+ * To determine when the **Dismiss** action is selected from the notification, implement a handler for the `OnInfoBarDismissClicked` event instead.
656
+ * For more information, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch#supported-events | Configure your Outlook add-in for event-based activation}.
657
+ *
652
658
  * [Api set: Mailbox 1.10]
653
659
  */
654
660
  InfobarClicked,
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.486",
3
+ "version": "1.0.487",
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": "d34cf76171c1c36e38383ada3fdbe6e7dd1627eb280f2e443cf7c9354ed69e8c",
50
- "typeScriptVersion": "5.0"
49
+ "typesPublisherContentHash": "24f3ecc1bfac4591486e788bb5c5f4ed9a9344d0013e671c9c24eb84385cf12c",
50
+ "typeScriptVersion": "5.1"
51
51
  }