angular-safeguard icon indicating copy to clipboard operation
angular-safeguard copied to clipboard

Angular 16: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).

Open GipHub123 opened this issue 1 year ago • 0 comments

Compilation error:

Error: node_modules/angular-safeguard/dist/Locker.module.d.ts:4:51 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).

4     static withConfig(userConfig: ILockerConfig): ModuleWithProviders;
$ ng version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 16.0.0
Node: 16.17.0
Package Manager: npm 8.15.0
OS: win32 x64

Angular: 16.0.0
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, google-maps, language-service, material
... material-date-fns-adapter, platform-browser
... platform-browser-dynamic, platform-server, router

Package                                    Version
--------------------------------------------------------------------
@angular-devkit/architect                  0.1600.0
@angular-devkit/build-angular              16.0.0
@angular-devkit/core                       16.0.0
@angular-devkit/schematics                 16.0.0
@nguniversal/builders                      16.0.0
@nguniversal/common                        16.0.0
@nguniversal/express-engine                16.0.0
@nguniversal/module-map-ngfactory-loader   v8.2.6
@schematics/angular                        16.0.0
rxjs                                       7.8.1
typescript                                 5.0.4

GipHub123 avatar May 04 '23 20:05 GipHub123