@types/office-js 1.0.348 → 1.0.349
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 -3
- 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: Fri, 06 Oct 2023 19:35:19 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
|
@@ -14842,9 +14842,12 @@ declare namespace Office {
|
|
|
14842
14842
|
* To determine the Outlook client in which your add-in is running, use the `mailbox.diagnostics.hostName` property.
|
|
14843
14843
|
*
|
|
14844
14844
|
* @param data - The EWS request.
|
|
14845
|
-
* @param callback - When the method completes, the function passed in the callback parameter is called with a single parameter
|
|
14846
|
-
*
|
|
14847
|
-
*
|
|
14845
|
+
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
14846
|
+
* `asyncResult`, which is an `Office.AsyncResult` object. The XML response of the EWS request is provided as a string
|
|
14847
|
+
* in the `asyncResult.value` property. In Outlook on the web, on Windows (starting in Version 2303 (Build 16225.10000)),
|
|
14848
|
+
* and on Mac (starting in Version 16.73 (23042601)), if the response exceeds 5 MB in size, an error message is returned
|
|
14849
|
+
* in the `asyncResult.error` property. In earlier versions of the Outlook desktop client, an error message is returned if
|
|
14850
|
+
* the response exceeds 1 MB in size.
|
|
14848
14851
|
* @param userContext - Optional. Any state data that is passed to the asynchronous method.
|
|
14849
14852
|
*/
|
|
14850
14853
|
makeEwsRequestAsync(data: any, callback: (asyncResult: Office.AsyncResult<string>) => void, userContext?: any): void;
|
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.349",
|
|
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": "17c7eafb0c249980c06196b73d160a493e31c2c8b5e5009ee334f07b399fa986",
|
|
49
49
|
"typeScriptVersion": "4.5"
|
|
50
50
|
}
|