mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 07:40:10 +00:00
[office-js] [office-js-preview] Add deprecation message (#37776)
This commit is contained in:
committed by
Sheetal Nandi
parent
b4ee5a63aa
commit
d758ee4bf0
2
types/office-js-preview/index.d.ts
vendored
2
types/office-js-preview/index.d.ts
vendored
@@ -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.
|
||||
|
||||
2
types/office-js/index.d.ts
vendored
2
types/office-js/index.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user