From d758ee4bf0a97993c1efa7e2bbc3f28b226d12ba Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Wed, 21 Aug 2019 08:15:04 -0700 Subject: [PATCH] [office-js] [office-js-preview] Add deprecation message (#37776) --- 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 6f0b61c87a..40157e5a16 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -999,7 +999,7 @@ declare namespace Office { /** * Check if the specified requirement set is supported by the host Office application. - * @deprecated + * @deprecated Use the string overload of `isSetSupported` instead. * @param name - The requirement set name (e.g., "ExcelApi"). * @param minVersionNumber - The minimum required version (e.g., 1.4). * Warning: This overload of `isSetSupported` (where `minVersionNumber` is a number) is deprecated. Use the string overload of `isSetSupported` instead. diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index f21062c9dc..f4901c4520 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -993,7 +993,7 @@ declare namespace Office { /** * Check if the specified requirement set is supported by the host Office application. - * @deprecated + * @deprecated Use the string overload of `isSetSupported` instead. * @param name - The requirement set name (e.g., "ExcelApi"). * @param minVersionNumber - The minimum required version (e.g., 1.4). * Warning: This overload of `isSetSupported` (where `minVersionNumber` is a number) is deprecated. Use the string overload of `isSetSupported` instead.