Skip to content

Commit 5a644d2

Browse files
[office-js] [office-js-preview] (all hosts) API description no longer… (DefinitelyTyped#74515)
1 parent 61bebf7 commit 5a644d2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

types/office-js-preview/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,10 @@ declare namespace Office {
293293
*/
294294
function initialize(reason: InitializationReason): void;
295295
/**
296+
* Checks if the specified requirement set is supported by the Office application.
297+
*
296298
* @deprecated This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead.
297299
*
298-
* Checks if the specified requirement set is supported by the Office application.
299300
* @param name - Set name; e.g., "MatrixBindings".
300301
* @param minVersion - The minimum required version; e.g., "1.4".
301302
*/

types/office-js/index.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,10 @@ declare namespace Office {
293293
*/
294294
function initialize(reason: InitializationReason): void;
295295
/**
296-
* @deprecated This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead.
297-
*
298296
* Checks if the specified requirement set is supported by the Office application.
297+
*
298+
* @deprecated This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead.
299+
*
299300
* @param name - Set name; e.g., "MatrixBindings".
300301
* @param minVersion - The minimum required version; e.g., "1.4".
301302
*/

0 commit comments

Comments
 (0)