azureAuth.ts strict nulls (#20583)

* azureAuth.ts strict nulls

* fix test compile
This commit is contained in:
Charles Gagnon
2022-09-12 14:44:31 -07:00
committed by GitHub
parent a4f023f5b9
commit 63aeb606bf
3 changed files with 42 additions and 31 deletions

View File

@@ -72,12 +72,12 @@ declare module 'azurecore' {
/**
* Host of the authority
*/
host?: string;
host: string;
/**
* Identifier of the client application
*/
clientId?: string;
clientId: string;
/**
* Information that describes the Microsoft resource management resource
@@ -87,7 +87,7 @@ declare module 'azurecore' {
/**
* Information that describes the AAD graph resource
*/
graphResource?: Resource;
graphResource: Resource;
/**
* Information that describes the MS graph resource
@@ -97,7 +97,7 @@ declare module 'azurecore' {
/**
* Information that describes the Azure resource management resource
*/
armResource?: Resource;
armResource: Resource;
/**
* Information that describes the SQL Azure resource
@@ -112,7 +112,7 @@ declare module 'azurecore' {
/**
* Information that describes the Azure Key Vault resource
*/
azureKeyVaultResource?: Resource;
azureKeyVaultResource: Resource;
/**
* Information that describes the Azure Dev Ops resource
@@ -132,7 +132,7 @@ declare module 'azurecore' {
/**
* Information that describes the Azure Storage resource
*/
azureStorageResource?: Resource;
azureStorageResource: Resource;
/**
* Information that describes the Power BI resource
@@ -153,11 +153,11 @@ declare module 'azurecore' {
siteId?: string;
/**
* Redirect URI that is used to signify the end of the interactive aspect of sign it
* Redirect URI that is used to signify the end of the interactive aspect of sign in
*/
redirectUri?: string;
redirectUri: string;
scopes?: string[]
scopes: string[]
portalEndpoint?: string
}