Skip to content

Commit 42c9306

Browse files
authored
[office-js, office-js-preview] Mark Office.isSetSupported as deprecated (DefinitelyTyped#74507)
1 parent cf6ddaf commit 42c9306

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ declare namespace Office {
293293
*/
294294
function initialize(reason: InitializationReason): void;
295295
/**
296-
* **WARNING**: This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead.
296+
* @deprecated This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead.
297297
*
298298
* Checks if the specified requirement set is supported by the Office application.
299299
* @param name - Set name; e.g., "MatrixBindings".

types/office-js/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ declare namespace Office {
293293
*/
294294
function initialize(reason: InitializationReason): void;
295295
/**
296-
* **WARNING**: This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead.
296+
* @deprecated This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead.
297297
*
298298
* Checks if the specified requirement set is supported by the Office application.
299299
* @param name - Set name; e.g., "MatrixBindings".

0 commit comments

Comments
 (0)