Fixing capitalization and removing redundant Outlook overloads

This commit is contained in:
Alex Jerabek
2019-01-02 14:46:48 -08:00
parent f7f92b87af
commit e78fdc6308
2 changed files with 22 additions and 27 deletions
+11 -11
View File
@@ -3571,8 +3571,8 @@ declare namespace Office {
* This is returned in the data structure or format you specified with the coercionType parameter.
* (See Remarks for more information about data coercion.)
*/
getSelectedDataAsync<T>(coerciontype: Office.CoercionType, options?: GetSelectedDataOptions, callback?: (result: AsyncResult<T>) => void): void;
getSelectedDataAsync<T>(coerciontype: Office.CoercionType, callback?: (result: AsyncResult<T>) => void): void;
getSelectedDataAsync<T>(coercionType: Office.CoercionType, options?: GetSelectedDataOptions, callback?: (result: AsyncResult<T>) => void): void;
getSelectedDataAsync<T>(coercionType: Office.CoercionType, callback?: (result: AsyncResult<T>) => void): void;
/**
* Goes to the specified object or location in the document.
*
@@ -8764,7 +8764,7 @@ declare namespace Office {
*
* In addition to this signature, this method also has the following signature:
*
* `getAsync(coerciontype: Office.CoercionType, callback: (result: AsyncResult<string>) => void): void;`
* `getAsync(coercionType: Office.CoercionType, callback: (result: AsyncResult<string>) => void): void;`
*
* @param coercionType The format for the returned body.
* @param options Optional. An object literal that contains one or more of the following properties:
@@ -8772,7 +8772,7 @@ declare namespace Office {
* @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter of type AsyncResult.
* The body is provided in the requested format in the asyncResult.value property.
*/
getAsync(coerciontype: Office.CoercionType, options?: Office.AsyncContextOptions, callback?: (result: AsyncResult<string>) => void): void;
getAsync(coercionType: Office.CoercionType, options?: Office.AsyncContextOptions, callback?: (result: AsyncResult<string>) => void): void;
/**
* Returns the current body in a specified format.
*
@@ -8793,7 +8793,7 @@ declare namespace Office {
* @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter of type Office.AsyncResult.
* The body is provided in the requested format in the asyncResult.value property.
*/
getAsync(coerciontype: Office.CoercionType, callback: (result: AsyncResult<string>) => void): void;
getAsync(coercionType: Office.CoercionType, callback: (result: AsyncResult<string>) => void): void;
/**
* Gets a value that indicates whether the content is in HTML or text format.
@@ -10276,7 +10276,7 @@ declare namespace Office {
* asyncContext: Developers can provide any object they wish to access in the callback method.
* @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of type AsyncResult.
*/
getSelectedDataAsync(coerciontype: Office.CoercionType, options: Office.AsyncContextOptions, callback: (result: AsyncResult<any>) => void): void;
getSelectedDataAsync(coercionType: Office.CoercionType, options: Office.AsyncContextOptions, callback: (result: AsyncResult<any>) => void): void;
/**
* Asynchronously returns selected data from the subject or body of a message.
*
@@ -10302,7 +10302,7 @@ declare namespace Office {
* @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of
* type Office.AsyncResult.
*/
getSelectedDataAsync(coerciontype: Office.CoercionType, callback: (result: AsyncResult<string>) => void): void;
getSelectedDataAsync(coercionType: Office.CoercionType, callback: (result: AsyncResult<string>) => void): void;
/**
* Asynchronously loads custom properties for this add-in on the selected item.
*
@@ -12207,7 +12207,7 @@ declare namespace Office {
* @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of
* type Office.AsyncResult.
*/
getSelectedDataAsync(coerciontype: Office.CoercionType, callback: (result: AsyncResult<any>) => void): void;
getSelectedDataAsync(coercionType: Office.CoercionType, callback: (result: AsyncResult<any>) => void): void;
/**
* Asynchronously returns selected data from the subject or body of a message.
*
@@ -12235,7 +12235,7 @@ declare namespace Office {
* @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of
* type Office.AsyncResult.
*/
getSelectedDataAsync(coerciontype: Office.CoercionType, options: Office.AsyncContextOptions, callback: (result: AsyncResult<any>) => void): void;
getSelectedDataAsync(coercionType: Office.CoercionType, options: Office.AsyncContextOptions, callback: (result: AsyncResult<any>) => void): void;
/**
* Removes an attachment from a message or appointment.
*
@@ -13679,7 +13679,7 @@ declare namespace Office {
* @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of
* type Office.AsyncResult.
*/
getSelectedDataAsync(coerciontype: Office.CoercionType, callback: (result: AsyncResult<any>) => void): void;
getSelectedDataAsync(coercionType: Office.CoercionType, callback: (result: AsyncResult<any>) => void): void;
/**
* Asynchronously returns selected data from the subject or body of a message.
*
@@ -13707,7 +13707,7 @@ declare namespace Office {
* @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of
* type Office.AsyncResult.
*/
getSelectedDataAsync(coerciontype: Office.CoercionType, options: Office.AsyncContextOptions, callback: (result: AsyncResult<any>) => void): void;
getSelectedDataAsync(coercionType: Office.CoercionType, options: Office.AsyncContextOptions, callback: (result: AsyncResult<any>) => void): void;
/**
* Asynchronously loads custom properties for this add-in on the selected item.
*
+11 -16
View File
@@ -3571,8 +3571,8 @@ declare namespace Office {
* This is returned in the data structure or format you specified with the coercionType parameter.
* (See Remarks for more information about data coercion.)
*/
getSelectedDataAsync<T>(coerciontype: Office.CoercionType, options?: GetSelectedDataOptions, callback?: (result: AsyncResult<T>) => void): void;
getSelectedDataAsync<T>(coerciontype: Office.CoercionType, callback?: (result: AsyncResult<T>) => void): void;
getSelectedDataAsync<T>(coercionType: Office.CoercionType, options?: GetSelectedDataOptions, callback?: (result: AsyncResult<T>) => void): void;
getSelectedDataAsync<T>(coercionType: Office.CoercionType, callback?: (result: AsyncResult<T>) => void): void;
/**
* Goes to the specified object or location in the document.
*
@@ -8764,7 +8764,7 @@ declare namespace Office {
*
* In addition to this signature, this method also has the following signature:
*
* `getAsync(coerciontype: Office.CoercionType, callback: (result: AsyncResult<string>) => void): void;`
* `getAsync(coercionType: Office.CoercionType, callback: (result: AsyncResult<string>) => void): void;`
*
* @param coercionType The format for the returned body.
* @param options Optional. An object literal that contains one or more of the following properties:
@@ -8772,8 +8772,7 @@ declare namespace Office {
* @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter of type AsyncResult.
* The body is provided in the requested format in the asyncResult.value property.
*/
getAsync(coerciontype: Office.CoercionType, options?: Office.AsyncContextOptions, callback?: (result: AsyncResult<string>) => void): void;
getAsync(coerciontype: Office.CoercionType, callback?: (result: AsyncResult<string>) => void): void;
getAsync(coercionType: Office.CoercionType, options?: Office.AsyncContextOptions, callback?: (result: AsyncResult<string>) => void): void;
/**
* Returns the current body in a specified format.
*
@@ -8794,7 +8793,7 @@ declare namespace Office {
* @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter of type Office.AsyncResult.
* The body is provided in the requested format in the asyncResult.value property.
*/
getAsync(coerciontype: Office.CoercionType, callback: (result: AsyncResult<string>) => void): void;
getAsync(coercionType: Office.CoercionType, callback: (result: AsyncResult<string>) => void): void;
/**
* Gets a value that indicates whether the content is in HTML or text format.
@@ -8812,7 +8811,6 @@ declare namespace Office {
* The content type is returned as one of the CoercionType values in the asyncResult.value property.
*/
getTypeAsync(options?: Office.AsyncContextOptions, callback?: (result: AsyncResult<Office.CoercionType>) => void): void;
getTypeAsync(callback?: (result: AsyncResult<Office.CoercionType>) => void): void;
/**
* Adds the specified content to the beginning of the item body.
*
@@ -8847,7 +8845,6 @@ declare namespace Office {
* Any errors encountered will be provided in the asyncResult.error property.
*/
prependAsync(data: string, options?: Office.AsyncContextOptions & CoercionTypeOptions, callback?: (result: AsyncResult<void>) => void): void;
prependAsync(data: string, callback?: (result: AsyncResult<void>) => void): void;
/**
* Adds the specified content to the beginning of the item body.
*
@@ -8947,7 +8944,6 @@ declare namespace Office {
* Any errors encountered will be provided in the asyncResult.error property.
*/
setAsync(data: string, options?: Office.AsyncContextOptions & CoercionTypeOptions, callback?: (result: AsyncResult<void>) => void): void;
setAsync(data: string, callback?: (result: AsyncResult<void>) => void): void;
/**
* Replaces the entire body with the specified text.
*
@@ -9055,7 +9051,6 @@ declare namespace Office {
* Any errors encountered will be provided in the asyncResult.error property.
*/
setSelectedDataAsync(data: string, options?: Office.AsyncContextOptions & CoercionTypeOptions, callback?: (result: AsyncResult<void>) => void): void;
setSelectedDataAsync(data: string, callback?: (result: AsyncResult<void>) => void): void;
/**
* Replaces the selection in the body with the specified text.
*
@@ -10281,7 +10276,7 @@ declare namespace Office {
* asyncContext: Developers can provide any object they wish to access in the callback method.
* @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of type AsyncResult.
*/
getSelectedDataAsync(coerciontype: Office.CoercionType, options: Office.AsyncContextOptions, callback: (result: AsyncResult<any>) => void): void;
getSelectedDataAsync(coercionType: Office.CoercionType, options: Office.AsyncContextOptions, callback: (result: AsyncResult<any>) => void): void;
/**
* Asynchronously returns selected data from the subject or body of a message.
*
@@ -10307,7 +10302,7 @@ declare namespace Office {
* @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of
* type Office.AsyncResult.
*/
getSelectedDataAsync(coerciontype: Office.CoercionType, callback: (result: AsyncResult<string>) => void): void;
getSelectedDataAsync(coercionType: Office.CoercionType, callback: (result: AsyncResult<string>) => void): void;
/**
* Asynchronously loads custom properties for this add-in on the selected item.
*
@@ -12212,7 +12207,7 @@ declare namespace Office {
* @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of
* type Office.AsyncResult.
*/
getSelectedDataAsync(coerciontype: Office.CoercionType, callback: (result: AsyncResult<any>) => void): void;
getSelectedDataAsync(coercionType: Office.CoercionType, callback: (result: AsyncResult<any>) => void): void;
/**
* Asynchronously returns selected data from the subject or body of a message.
*
@@ -12240,7 +12235,7 @@ declare namespace Office {
* @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of
* type Office.AsyncResult.
*/
getSelectedDataAsync(coerciontype: Office.CoercionType, options: Office.AsyncContextOptions, callback: (result: AsyncResult<any>) => void): void;
getSelectedDataAsync(coercionType: Office.CoercionType, options: Office.AsyncContextOptions, callback: (result: AsyncResult<any>) => void): void;
/**
* Removes an attachment from a message or appointment.
*
@@ -13684,7 +13679,7 @@ declare namespace Office {
* @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of
* type Office.AsyncResult.
*/
getSelectedDataAsync(coerciontype: Office.CoercionType, callback: (result: AsyncResult<any>) => void): void;
getSelectedDataAsync(coercionType: Office.CoercionType, callback: (result: AsyncResult<any>) => void): void;
/**
* Asynchronously returns selected data from the subject or body of a message.
*
@@ -13712,7 +13707,7 @@ declare namespace Office {
* @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of
* type Office.AsyncResult.
*/
getSelectedDataAsync(coerciontype: Office.CoercionType, options: Office.AsyncContextOptions, callback: (result: AsyncResult<any>) => void): void;
getSelectedDataAsync(coercionType: Office.CoercionType, options: Office.AsyncContextOptions, callback: (result: AsyncResult<any>) => void): void;
/**
* Asynchronously loads custom properties for this add-in on the selected item.
*