@types/office-js-preview 1.0.493 → 1.0.495
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-preview (https://github.com
|
|
|
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: Wed, 07 Aug 2024 17:36:17 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -3140,7 +3140,7 @@ declare namespace Office {
|
|
|
3140
3140
|
* @param actionId The ID of an action that is defined in the manifest.
|
|
3141
3141
|
* @param actionFunction The function that is run when the action is invoked.
|
|
3142
3142
|
*/
|
|
3143
|
-
associate
|
|
3143
|
+
associate(actionId: string, actionFunction: (arg?: any) => void): void;
|
|
3144
3144
|
/**
|
|
3145
3145
|
* Replaces existing add-in shortcuts with custom shortcuts for the user.
|
|
3146
3146
|
*
|
|
@@ -3595,7 +3595,8 @@ declare namespace Office {
|
|
|
3595
3595
|
*/
|
|
3596
3596
|
getAccessToken(options?: AuthOptions): Promise<string>;
|
|
3597
3597
|
/**
|
|
3598
|
-
*
|
|
3598
|
+
* Gets information about the signed-in user.
|
|
3599
|
+
* The add-in can pass this information to the Microsoft authentication library (MSAL.js) to get an access token for the current session.
|
|
3599
3600
|
*
|
|
3600
3601
|
* @remarks
|
|
3601
3602
|
*
|
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.495",
|
|
4
4
|
"description": "TypeScript definitions for office-js-preview",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "dc447f27723fd2439ef07fd4e2cd3758f7d512ae7cbebd546e7ad32733f5c831",
|
|
49
49
|
"typeScriptVersion": "4.8",
|
|
50
50
|
"nonNpm": true
|
|
51
51
|
}
|