diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index 1471fb4c343879..0d72a9433b94c3 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -293,7 +293,7 @@ declare namespace Office { */ function initialize(reason: InitializationReason): void; /** - * **WARNING**: This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead. + * @deprecated This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead. * * Checks if the specified requirement set is supported by the Office application. * @param name - Set name; e.g., "MatrixBindings". diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 1f937ea2baf9ac..283808a8e8bee7 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -293,7 +293,7 @@ declare namespace Office { */ function initialize(reason: InitializationReason): void; /** - * **WARNING**: This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead. + * @deprecated This API returns inaccurate values when used on desktop applications. Use `Office.context.requirements.isSetSupported` instead. * * Checks if the specified requirement set is supported by the Office application. * @param name - Set name; e.g., "MatrixBindings".