microsoft-authentication-library-for-js
microsoft-authentication-library-for-js copied to clipboard
Fixes for esm imports
This PR fixes some import issues in the builded .d.ts files because we were getting the following error on a couple of files.
error TS2835: Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you
mean '../config/Configuration.mjs'?
2 import { ManagedIdentityConfiguration } from "../config/Configuration";
The lack of the for esm required suffixes made it impossible to compile, if you look at some other files like PublicClientApplication those already contains the correct suffixes so this PR just fixes some of the imports that were missing this and should not break any backwards compatibility.
@microsoft-github-policy-service agree
Addressed in #7284