mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[Office-js] Update Outlook Typings Files (#19321)
* [Office-js] Update Outlook Typings Files * fix typo attachment -> attachments
This commit is contained in:
parent
3a164bcb99
commit
6357930cf1
6
types/office-js/index.d.ts
vendored
6
types/office-js/index.d.ts
vendored
@ -1802,6 +1802,11 @@ declare namespace Office {
|
||||
urls: Array<string>;
|
||||
}
|
||||
export interface Item {
|
||||
/**
|
||||
* You can cast item with `(Item as Office.[CAST_TYPE])` where CAST_TYPE is one of the following: ItemRead, ItemCompose, Message,
|
||||
* MessageRead, MessageCompose, Appointment, AppointmentRead, AppointmentCompose
|
||||
*/
|
||||
__BeSureToCastThisObject__: void;
|
||||
body: Body;
|
||||
itemType: Office.MailboxEnums.ItemType;
|
||||
notificationMessages: NotificationMessages;
|
||||
@ -1867,6 +1872,7 @@ declare namespace Office {
|
||||
setSelectedDataAsync(data: string, options?: AsyncContextOptions & CoercionTypeOptions, callback?: (result: AsyncResult) => void): void;
|
||||
}
|
||||
export interface ItemRead extends Item {
|
||||
attachments: Array<AttachmentDetails>;
|
||||
itemClass: string;
|
||||
itemId: string;
|
||||
normalizedSubject: string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user