Skip to content

Commit

Permalink
[office-js] [office-js-preview] (all hosts) Update formatting (#69626)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElizabethSamuel-MSFT committed May 16, 2024
1 parent f1525a2 commit cc00beb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5344,7 +5344,7 @@ declare namespace Office {
* @param permissions An array of device capabilities to which an add-in is requesting access.
* In Outlook on the web, an add-in can request access to a user's camera, geolocation, and microphone.
* @param options An object literal that contains the `asyncContext` property. Assign any object you wish to access in the callback function to the `asyncContext` property.
* @param callback When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an `Office.AsyncResult object.
* @param callback When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an `Office.AsyncResult` object.
* If the user grants permission to access the requested device capabilities, `true` is returned in the `asyncResult.value` property.
*/
requestPermissionsAsync(permissions: Office.DevicePermissionType[], options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<boolean>) => void): void;
Expand Down Expand Up @@ -5382,7 +5382,7 @@ declare namespace Office {
*
* @param permissions An array of device capabilities to which an add-in is requesting access.
* In Outlook on the web, an add-in can request access to a user's camera, geolocation, and microphone.
* @param callback When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an `Office.AsyncResult object.
* @param callback When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an `Office.AsyncResult` object.
* If the user grants permission to access the requested device capabilities, `true` is returned in the `asyncResult.value` property.
*/
requestPermissionsAsync(permissions: Office.DevicePermissionType[], callback: (asyncResult: Office.AsyncResult<boolean>) => void): void;
Expand Down
4 changes: 2 additions & 2 deletions types/office-js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5299,7 +5299,7 @@ declare namespace Office {
* @param permissions An array of device capabilities to which an add-in is requesting access.
* In Outlook on the web, an add-in can request access to a user's camera, geolocation, and microphone.
* @param options An object literal that contains the `asyncContext` property. Assign any object you wish to access in the callback function to the `asyncContext` property.
* @param callback When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an `Office.AsyncResult object.
* @param callback When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an `Office.AsyncResult` object.
* If the user grants permission to access the requested device capabilities, `true` is returned in the `asyncResult.value` property.
*/
requestPermissionsAsync(permissions: Office.DevicePermissionType[], options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<boolean>) => void): void;
Expand Down Expand Up @@ -5337,7 +5337,7 @@ declare namespace Office {
*
* @param permissions An array of device capabilities to which an add-in is requesting access.
* In Outlook on the web, an add-in can request access to a user's camera, geolocation, and microphone.
* @param callback When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an `Office.AsyncResult object.
* @param callback When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an `Office.AsyncResult` object.
* If the user grants permission to access the requested device capabilities, `true` is returned in the `asyncResult.value` property.
*/
requestPermissionsAsync(permissions: Office.DevicePermissionType[], callback: (asyncResult: Office.AsyncResult<boolean>) => void): void;
Expand Down

0 comments on commit cc00beb

Please sign in to comment.