Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#60824 [office-js] [office-js-preview] (Mai…
Browse files Browse the repository at this point in the history
…lbox) Remove redundant type descriptions by @samantharamon
  • Loading branch information
samantharamon authored Jun 15, 2022
1 parent d82834b commit 778d382
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1100,15 +1100,15 @@ declare namespace Office {
*/
interface EventCompletedOptions {
/**
* A boolean value. When the completed method is used to signal completion of an event handler,
* When the completed method is used to signal completion of an event handler,
* this value indicates if the handled event should continue execution or be canceled.
* For example, an add-in that handles the `ItemSend` event can set `allowEvent` to `false` to cancel sending of the message.
*/
allowEvent: boolean;

/**
* 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`,
* this value sets the error message that will be displayed to the user. For an example, refer to
* When the completed method is used to signal completion of an event handler and if the `allowEvent` option is set to `false`,
* this value sets the error message that will be displayed to the user. For an example, refer to the
* {@link https://docs.microsoft.com/office/dev/add-ins/outlook/smart-alerts-onmessagesend-walkthrough | Smart Alerts walkthrough}.
*
* [Api set: Mailbox preview]
Expand Down
2 changes: 1 addition & 1 deletion types/office-js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ declare namespace Office {
*/
interface EventCompletedOptions {
/**
* A boolean value. When the completed method is used to signal completion of an event handler,
* When the completed method is used to signal completion of an event handler,
* this value indicates if the handled event should continue execution or be canceled.
* For example, an add-in that handles the `ItemSend` event can set `allowEvent` to `false` to cancel sending of the message.
*/
Expand Down

0 comments on commit 778d382

Please sign in to comment.