@azure/[email protected][email protected] or @azure/[email protected]@azure/[email protected]@azure/[email protected]@azure/[email protected]When building a library this error occurs, this is because of deprecation in version 10 of Angular.
ERROR: node_modules/@azure/msal-angular/src/msal.module.d.ts:5:86 - error TS2314: Generic type 'ModuleWithProviders
Edit(Temp fix):
Adding the following property inside "compilerOptions" in your tsconfig.json will make your library buildable.
"skipLibCheck": true,
@PapaBigBear Thanks for the information. We have not had a chance to test and update MSAL Angular for compatibility with Angular v10, but we'll make sure this is fixed.
This issue has not seen activity in 14 days. It may be closed if it remains stale.
ERROR in node_modules/@azure/msal-angular/src/msal.module.d.ts:5:86 - error TS2314: Generic type 'ModuleWithProviders
static forRoot(config: Configuration, angularConfig?: MsalAngularConfiguration): ModuleWithProviders;
It's been a while since Angular 10 was released. The abovementioned build error is actually the only one after updating to Angular 10 in my case, so this is a blocker. Any update on this?
This issue has not seen activity in 14 days. It may be closed if it remains stale.
This issue has been closed due to inactivity. If this has not been resolved please open a new issue. Thanks!
Most helpful comment
It's been a while since Angular 10 was released. The abovementioned build error is actually the only one after updating to Angular 10 in my case, so this is a blocker. Any update on this?