Skip to content

Commit 242f70e

Browse files
Fixed Minor Type Error in BaseManagedIdentitySource.ts (#8107)
This was previously showing an error in VSCode. The error is now resolved via stricter typing.
1 parent ef1261f commit 242f70e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": " Fixed Minor Type Error in BaseManagedIdentitySource.ts (#8107)",
4+
"packageName": "@azure/msal-node",
5+
"email": "rginsburg@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}

lib/msal-node/src/client/ManagedIdentitySources/BaseManagedIdentitySource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export abstract class BaseManagedIdentitySource {
291291
}
292292

293293
public static getValidatedEnvVariableUrlString = (
294-
envVariableStringName: string,
294+
envVariableStringName: keyof typeof ManagedIdentityErrorCodes.MsiEnvironmentVariableUrlMalformedErrorCodes,
295295
envVariable: string,
296296
sourceName: string,
297297
logger: Logger

0 commit comments

Comments
 (0)