From 8b82d5a89940576ba8a92a701ade4e651fab1cbb Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Tue, 24 Mar 2020 09:32:49 -0700 Subject: [PATCH] [office-js-preview] (Outlook) Update description of signature APIs (#43354) * [office-js-preview] (Outlook) Update description of signature APIs * Update based on feedback --- types/office-js-preview/index.d.ts | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index e1d352e5ca..db4ba3e0f8 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -11701,7 +11701,9 @@ declare namespace Office { */ setSelectedDataAsync(data: string, callback?: (asyncResult: Office.AsyncResult) => void): void; /** - * Adds or replaces the signature of the email body. + * Adds or replaces the signature of the item body. + * + * **Important**: In Outlook on the web, `setSignatureAsync` only works on messages. * * [Api set: Mailbox Preview] * @@ -11729,7 +11731,9 @@ declare namespace Office { */ setSignatureAsync(data: string, options?: Office.AsyncContextOptions & CoercionTypeOptions, callback?: (asyncResult: Office.AsyncResult) => void): void; /** - * Adds or replaces the signature of the email body. + * Adds or replaces the signature of the item body. + * + * **Important**: In Outlook on the web, `setSignatureAsync` only works on messages. * * [Api set: Mailbox Preview] * @@ -14072,7 +14076,7 @@ declare namespace Office { * * @beta */ - disableClientSignatureAsync(options?: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult) => void): void; + disableClientSignatureAsync(options?: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult) => void): void; /** * Disables the Outlook client signature. * @@ -14094,7 +14098,7 @@ declare namespace Office { * * @beta */ - disableClientSignatureAsync(callback?: (asyncResult: Office.AsyncResult) => void): void; + disableClientSignatureAsync(callback?: (asyncResult: Office.AsyncResult) => void): void; /** * Gets an attachment from a message or appointment and returns it as an `AttachmentContent` object. * @@ -14452,7 +14456,7 @@ declare namespace Office { * * @beta */ - isClientSignatureEnabledAsync(options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult) => void): void; + isClientSignatureEnabledAsync(options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult) => void): void; /** * Gets if the client signature is enabled. * @@ -14474,7 +14478,7 @@ declare namespace Office { * * @beta */ - isClientSignatureEnabledAsync(callback: (asyncResult: Office.AsyncResult) => void): void; + isClientSignatureEnabledAsync(callback: (asyncResult: Office.AsyncResult) => void): void; /** * Asynchronously loads custom properties for this add-in on the selected item. *