Skip to content

Commit 40f1f2c

Browse files
authored
[office-js, office-js-preview] Add requirement set information to Office.AuthContext (DefinitelyTyped#74819)
1 parent dded1f2 commit 40f1f2c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

types/office-js-preview/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3680,7 +3680,7 @@ declare namespace Office {
36803680
*
36813681
* **Hosts**: Excel, OneNote, Outlook, PowerPoint, Word
36823682
*
3683-
* **Requirement set**: NestedAppAuth 1.1
3683+
* **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/nested-app-auth-requirement-sets | NestedAppAuth 1.1}
36843684
*
36853685
* @returns Promise to the AuthContext object.
36863686
*/
@@ -3743,6 +3743,10 @@ declare namespace Office {
37433743
}
37443744
/**
37453745
* Represents the user information which can be passed to the Microsoft Authentication Library for JavaScript (MSAL.js).
3746+
*
3747+
* @remarks
3748+
*
3749+
* **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/nested-app-auth-requirement-sets | NestedAppAuth 1.1}
37463750
*/
37473751
interface AuthContext {
37483752
/**

types/office-js/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3680,7 +3680,7 @@ declare namespace Office {
36803680
*
36813681
* **Hosts**: Excel, OneNote, Outlook, PowerPoint, Word
36823682
*
3683-
* **Requirement set**: NestedAppAuth 1.1
3683+
* **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/nested-app-auth-requirement-sets | NestedAppAuth 1.1}
36843684
*
36853685
* @returns Promise to the AuthContext object.
36863686
*/
@@ -3743,6 +3743,10 @@ declare namespace Office {
37433743
}
37443744
/**
37453745
* Represents the user information which can be passed to the Microsoft Authentication Library for JavaScript (MSAL.js).
3746+
*
3747+
* @remarks
3748+
*
3749+
* **Requirement set**: {@link https://learn.microsoft.com/javascript/api/requirement-sets/common/nested-app-auth-requirement-sets | NestedAppAuth 1.1}
37463750
*/
37473751
interface AuthContext {
37483752
/**

0 commit comments

Comments
 (0)