@types/office-js-preview 1.0.421 → 1.0.422
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-preview/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-preview.
|
|
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-preview/index.d.ts
CHANGED
|
@@ -15181,9 +15181,12 @@ declare namespace Office {
|
|
|
15181
15181
|
* To determine the Outlook client in which your add-in is running, use the `mailbox.diagnostics.hostName` property.
|
|
15182
15182
|
*
|
|
15183
15183
|
* @param data - The EWS request.
|
|
15184
|
-
* @param callback - When the method completes, the function passed in the callback parameter is called with a single parameter
|
|
15185
|
-
*
|
|
15186
|
-
*
|
|
15184
|
+
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
15185
|
+
* `asyncResult`, which is an `Office.AsyncResult` object. The XML response of the EWS request is provided as a string
|
|
15186
|
+
* in the `asyncResult.value` property. In Outlook on the web, on Windows (starting in Version 2303 (Build 16225.10000)),
|
|
15187
|
+
* and on Mac (starting in Version 16.73 (23042601)), if the response exceeds 5 MB in size, an error message is returned
|
|
15188
|
+
* in the `asyncResult.error` property. In earlier versions of the Outlook desktop client, an error message is returned if
|
|
15189
|
+
* the response exceeds 1 MB in size.
|
|
15187
15190
|
* @param userContext - Optional. Any state data that is passed to the asynchronous method.
|
|
15188
15191
|
*/
|
|
15189
15192
|
makeEwsRequestAsync(data: any, callback: (asyncResult: Office.AsyncResult<string>) => void, userContext?: any): void;
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.422",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "8e6a6b3b7eeae372f2cf2e7bfd79f3c619862ee811c72a3783be20254da3a0f0",
|
|
49
49
|
"typeScriptVersion": "4.5"
|
|
50
50
|
}
|