mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[office-js] [office-js-preview] (Outlook) Fix EnhancedLocation method params (#43593)
This commit is contained in:
parent
28d8d42967
commit
cd4a4e2db4
8
types/office-js-preview/index.d.ts
vendored
8
types/office-js-preview/index.d.ts
vendored
@ -12270,7 +12270,7 @@ declare namespace Office {
|
||||
* @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
||||
* `asyncResult`, which is an `Office.AsyncResult` object. Check the `status` property of `asyncResult` to determine if the call succeeded.
|
||||
*/
|
||||
addAsync(locationIdentifiers: LocationIdentifier[], options?: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResultStatus) => void): void;
|
||||
addAsync(locationIdentifiers: LocationIdentifier[], options?: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
||||
/**
|
||||
* Adds to the set of locations associated with the appointment.
|
||||
*
|
||||
@ -12290,7 +12290,7 @@ declare namespace Office {
|
||||
* @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
||||
* `asyncResult`, which is an `Office.AsyncResult` object. Check the `status` property of `asyncResult` to determine if the call succeeded.
|
||||
*/
|
||||
addAsync(locationIdentifiers: LocationIdentifier[], callback?: (asyncResult: Office.AsyncResultStatus) => void): void;
|
||||
addAsync(locationIdentifiers: LocationIdentifier[], callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
||||
/**
|
||||
* Gets the set of locations associated with the appointment.
|
||||
*
|
||||
@ -12342,7 +12342,7 @@ declare namespace Office {
|
||||
* @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
||||
* `asyncResult`, which is an `Office.AsyncResult` object. Check the `status` property of `asyncResult` to determine if the call succeeded.
|
||||
*/
|
||||
removeAsync(locationIdentifiers: LocationIdentifier[], options?: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResultStatus) => void): void;
|
||||
removeAsync(locationIdentifiers: LocationIdentifier[], options?: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
||||
/**
|
||||
* Removes the set of locations associated with the appointment.
|
||||
*
|
||||
@ -12360,7 +12360,7 @@ declare namespace Office {
|
||||
* @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
||||
* `asyncResult`, which is an `Office.AsyncResult` object. Check the `status` property of `asyncResult` to determine if the call succeeded.
|
||||
*/
|
||||
removeAsync(locationIdentifiers: LocationIdentifier[], callback?: (asyncResult: Office.AsyncResultStatus) => void): void;
|
||||
removeAsync(locationIdentifiers: LocationIdentifier[], callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
||||
}
|
||||
/**
|
||||
* Provides the current enhanced locations when the `Office.EventType.EnhancedLocationsChanged` event is raised.
|
||||
|
||||
8
types/office-js/index.d.ts
vendored
8
types/office-js/index.d.ts
vendored
@ -11544,7 +11544,7 @@ declare namespace Office {
|
||||
* @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
||||
* `asyncResult`, which is an `Office.AsyncResult` object. Check the `status` property of `asyncResult` to determine if the call succeeded.
|
||||
*/
|
||||
addAsync(locationIdentifiers: LocationIdentifier[], options?: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResultStatus) => void): void;
|
||||
addAsync(locationIdentifiers: LocationIdentifier[], options?: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
||||
/**
|
||||
* Adds to the set of locations associated with the appointment.
|
||||
*
|
||||
@ -11564,7 +11564,7 @@ declare namespace Office {
|
||||
* @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
||||
* `asyncResult`, which is an `Office.AsyncResult` object. Check the `status` property of `asyncResult` to determine if the call succeeded.
|
||||
*/
|
||||
addAsync(locationIdentifiers: LocationIdentifier[], callback?: (asyncResult: Office.AsyncResultStatus) => void): void;
|
||||
addAsync(locationIdentifiers: LocationIdentifier[], callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
||||
/**
|
||||
* Gets the set of locations associated with the appointment.
|
||||
*
|
||||
@ -11616,7 +11616,7 @@ declare namespace Office {
|
||||
* @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
||||
* `asyncResult`, which is an `Office.AsyncResult` object. Check the `status` property of `asyncResult` to determine if the call succeeded.
|
||||
*/
|
||||
removeAsync(locationIdentifiers: LocationIdentifier[], options?: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResultStatus) => void): void;
|
||||
removeAsync(locationIdentifiers: LocationIdentifier[], options?: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
||||
/**
|
||||
* Removes the set of locations associated with the appointment.
|
||||
*
|
||||
@ -11634,7 +11634,7 @@ declare namespace Office {
|
||||
* @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
||||
* `asyncResult`, which is an `Office.AsyncResult` object. Check the `status` property of `asyncResult` to determine if the call succeeded.
|
||||
*/
|
||||
removeAsync(locationIdentifiers: LocationIdentifier[], callback?: (asyncResult: Office.AsyncResultStatus) => void): void;
|
||||
removeAsync(locationIdentifiers: LocationIdentifier[], callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
||||
}
|
||||
/**
|
||||
* Provides the current enhanced locations when the `Office.EventType.EnhancedLocationsChanged` event is raised.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user