Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4881,6 +4881,11 @@ declare namespace Office {
platform: Office.PlatformType;
/**
* Gets the version of Office on which the add-in is running.
*
* @remarks
* In Office on Windows, the value returned by the `version` property uses the format 16.0.\<build\>.\<revision\>.
* To compare a version shown as Version xxxx (Build xxxxx.xxxxx) with the `version` value, use the full build number (\<build\>.\<revision\>).
* For example, in Version 2603 (Build 19822.20000), use 19822.20000 for comparison.
*/
version: string;
}
Expand Down
5 changes: 5 additions & 0 deletions types/office-js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4881,6 +4881,11 @@ declare namespace Office {
platform: Office.PlatformType;
/**
* Gets the version of Office on which the add-in is running.
*
* @remarks
* In Office on Windows, the value returned by the `version` property uses the format 16.0.\<build\>.\<revision\>.
* To compare a version shown as Version xxxx (Build xxxxx.xxxxx) with the `version` value, use the full build number (\<build\>.\<revision\>).
* For example, in Version 2603 (Build 19822.20000), use 19822.20000 for comparison.
*/
version: string;
}
Expand Down