@types/office-js 1.0.292 → 1.0.293
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- office-js/README.md +1 -1
- office-js/index.d.ts +6 -0
- office-js/package.json +2 -2
office-js/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 27 Oct 2022 15:02:53 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js/index.d.ts
CHANGED
|
@@ -18710,6 +18710,12 @@ declare namespace OfficeExtension {
|
|
|
18710
18710
|
innerError: Error;
|
|
18711
18711
|
}
|
|
18712
18712
|
|
|
18713
|
+
/**
|
|
18714
|
+
* Represents the error code that can be returned by {@link OfficeExtension.Error | OfficeExtension.Error.code}.
|
|
18715
|
+
*
|
|
18716
|
+
* To learn more about the error codes, see
|
|
18717
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/reference/javascript-api-for-office-error-codes | Office Common API error codes}.
|
|
18718
|
+
*/
|
|
18713
18719
|
class ErrorCodes {
|
|
18714
18720
|
public static accessDenied: string;
|
|
18715
18721
|
public static generalException: string;
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.293",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "399a52f6e3367ce762c5220e1a0145183b5630dcb945e9428d09b4c10dcf3dc9",
|
|
49
49
|
"typeScriptVersion": "4.1"
|
|
50
50
|
}
|