angular-2-local-storage
angular-2-local-storage copied to clipboard
Angular 10 deprecated the use of ModuleWithProviders type without a generic.

Facing the following error while deploying as Angular 10 has deprecated the use of ModuleWithProviders type without a generic and the code in dist folder remains unchanged in the deployment causing the build to fail.
2021-01-18T14:33:33.8414506Z ERROR in node_modules/angular-2-local-storage/dist/local-storage.module.d.ts:4:65 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s). 2021-01-18T14:33:33.8414883Z 2021-01-18T14:33:33.8415138Z 4 static withConfig(userConfig?: ILocalStorageServiceConfig): ModuleWithProviders;
@phenomnomnominal any solution for this issue ? Error: node_modules/angular-2-local-storage/local-storage.module.d.ts:4:62 - error TS2314: Generic type 'ModuleWithProviders <T>' requires 1 type argument(s).
4 static forRoot(userConfig?: ILocalStorageServiceConfig): ModuleWithProviders; ~~~~~~~~~~~~~~~~~~~