From 42c9306767ffc8f58857c7b865b47ae8ee345bd8 Mon Sep 17 00:00:00 2001 From: Alex Jerabek <38896772+AlexJerabek@users.noreply.github.com> Date: Tue, 10 Feb 2026 12:59:42 -0800 Subject: [PATCH] [office-js, office-js-preview] Mark Office.isSetSupported as deprecated (#74507) --- types/office-js-preview/index.d.ts | 2 +- types/office-js/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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".