@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.
@@ -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: Tue, 06 Aug 2024 21:07:20 GMT
11
+ * Last updated: Wed, 07 Aug 2024 17:36:17 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -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: (actionId: string, actionFunction: (arg?: any) => void) => void;
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
- * Get the necessary information about the current user. The add-in passes this to MSAL.js to get an access token for the current session.
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
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.493",
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": "4191dd40aebad27509c7f37fda2a5e0e9ec22c57918a6783e5afd810e1dd4d8b",
48
+ "typesPublisherContentHash": "dc447f27723fd2439ef07fd4e2cd3758f7d512ae7cbebd546e7ad32733f5c831",
49
49
  "typeScriptVersion": "4.8",
50
50
  "nonNpm": true
51
51
  }