Build error after upgrading to Angular 10 and opting out of Ivy
See original GitHub issueLibrary
msal@1.4.0@azure/msal-angular@1.1.1@angular/core@10.1.1
Disabled Ivy: "angularCompilerOptions": { "enableIvy": false }
Framework
Angular 10
Description
After upgrading to angular 10 MSAL gives us a build error.
We were using older versions of MSAL before the upgrade and figured updating to the latest versions would fix something.
This was not the case though and looking at the NPM page implies that angular 10 is not supported:
However, there’s also a line about following the angular support schedule:
To me, this implies that angular 10 is supported, since 10 is currently active.

With a build error like it leads me to conclude that angular 10 is not supported by the msal-angular package. Is this conclusion correct?
Error Message
msal.module.d.ts:5:86 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s)
Importing ModuleWithProviders from angular core: import { ModuleWithProviders } from "@angular/core";
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (3 by maintainers)

Top Related StackOverflow Question
Is there an ETA for when this version will be released to NPM?
@azure/msal-angular@1.1.2is now available on npm.