@types/office-js 1.0.280 → 1.0.281

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: Tue, 13 Sep 2022 20:32:50 GMT
11
+ * Last updated: Wed, 14 Sep 2022 20:32:52 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
@@ -1550,8 +1550,14 @@ declare namespace Office {
1550
1550
  asyncContext?: any;
1551
1551
  /**
1552
1552
  * Causes Office to return a descriptive error when the add-in wants to access Microsoft Graph and the user/admin has not granted consent to Graph scopes. Default value is `false`.
1553
- * Office only supports consent to Graph scopes when the add-in has been deployed by a tenant admin. This information will not be available during development.
1553
+ * Office only supports consent to Graph scopes when the add-in has been deployed by a tenant admin.
1554
1554
  * Setting this option to `true` will cause Office to inform your add-in beforehand (by returning a descriptive error) if Graph access will fail.
1555
+ *
1556
+ * @remarks
1557
+ *
1558
+ * **Note**: If you're developing an Outlook add-in that uses single sign-on (SSO), comment out the `forMSGraphAccess` option before sideloading the add-in for testing.
1559
+ * Otherwise, you'll receive {@link https://docs.microsoft.com/office/dev/add-ins/develop/troubleshoot-sso-in-office-add-ins#13012 | error 13012}. For additional guidance, see
1560
+ * {@link https://docs.microsoft.com/office/dev/add-ins/develop/authorize-to-microsoft-graph#details-on-sso-with-an-outlook-add-in | Details on SSO with an Outlook add-in}.
1555
1561
  */
1556
1562
  forMSGraphAccess?: boolean;
1557
1563
  }
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.280",
3
+ "version": "1.0.281",
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": "e5b3af71ba518859dfefec104c60a5b624f795af1515e7b1df96b793eaadbe38",
48
+ "typesPublisherContentHash": "0ca35ba1ff598f6fe3322c0879268d476ece5acb05c46dfe2c92ebc2e7d0f6bd",
49
49
  "typeScriptVersion": "4.1"
50
50
  }