-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generic type 'ModuleWithProviders<T>' requires 1 type argument(s) #51
Comments
This should be quite trivial to fix.
->
|
Hi @GipHub123 thanks for raising that issue! I just applied the fix in commit bb7ad60, so I'm closing this issue for now. Please, update your app to use |
Hi, Please find the below screenshots, As I’m facing the below issue with “@azure/msal-angular (0.1.2)” by migrating from Angular 15 to Angular 16. I have tried certain ways to clear the below issue, But unable to find the solution. Getting the issue with node-modules & also facing JavaScript Heap memory leak issue as below, Error: node_modules/@azure/msal-angular/dist/msal.module.d.ts:6:41 - error TS2314: Generic type 'ModuleWithProviders' The below is my app.module.ts MsalModule.forRoot({ Anyone Please suggest me with the solution, As I have been stuck with this issue since long time. |
@Kiranchandranayak The issue you're facing is solved. This is a matter of passing a generics into E.G: #51 (comment) Commit fixing this issue: bb7ad60 |
I'm submitting a ... (check one with "x")
Current behavior
Application build fails (ng serve).
Expected behavior
No warning
Reproduction of the problem
Build application with Angular 10 or greater.
Please tell us about your environment:
"ngx-skeleton-loader": "^2.6.0",
Angular CLI: 11.0.2
Node: 10.18.1
OS: win32 x64
Angular: 11.0.2
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router
Ivy Workspace: Yes
Package Version
@angular-devkit/architect 0.1100.0
@angular-devkit/build-angular 0.1100.2
@angular-devkit/core 11.0.0
@angular-devkit/schematics 11.0.2
@angular/cdk 11.0.0
@angular/material 11.0.0
@angular/material-moment-adapter 11.0.0
@nguniversal/builders 11.0.0
@nguniversal/express-engine 11.0.0
@schematics/angular 11.0.2
@schematics/update 0.1100.2
rxjs 6.6.3
typescript 4.0.5
The text was updated successfully, but these errors were encountered: