@types/office-js 1.0.513 → 1.0.514

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 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: Mon, 16 Jun 2025 17:35:52 GMT
11
+ * Last updated: Thu, 26 Jun 2025 21:02:18 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -5446,6 +5446,8 @@ declare namespace Office {
5446
5446
  *
5447
5447
  * - If a user selects **Deny** from the dialog, the user will be requested for permissions again the next time the add-in requires access to the user's device capabilities.
5448
5448
  *
5449
+ * - Access to a user's geolocation isn't supported in Excel, PowerPoint, and Word. It's only supported in Outlook on the web and new Outlook on Windows using the `requestPermissionsAsync` method.
5450
+ *
5449
5451
  * @param permissions An array of device capabilities to which an add-in is requesting access.
5450
5452
  * In web versions of Excel, PowerPoint, and Word, add-ins can only request access to a user's camera and microphone.
5451
5453
  * Access to a user's geolocation is blocked.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.513",
3
+ "version": "1.0.514",
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",
@@ -46,6 +46,6 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "b6e53f43c60bf4e09378ea484fac38f440228aa7a038b4e323ee290cb2b2a900",
49
+ "typesPublisherContentHash": "9fee624c29009ad589318f8b86bcda4e007ceff3571cea131fd7904f811fb906",
50
50
  "typeScriptVersion": "5.1"
51
51
  }