ngx-slickjs icon indicating copy to clipboard operation
ngx-slickjs copied to clipboard

NgxSlickJsModule.forRoot returns a ModuleWithProviders type without a generic type argument

Open code-ishwar opened this issue 1 year ago • 0 comments

Describe the bug With latest Angular 18, every forRoot requires 1 type argument.

To Reproduce Steps to reproduce the behavior:

  1. Install module in angular 18 proejct,
  2. See error

Expected behavior Expecting no issue in upgrade

Desktop (please complete the following information):

  • OS: MACOS
  • BrowserChrome
  • Version 22

Error:

Error: node_modules/ngx-slickjs/lib/ngx-slickjs.module.d.ts:4:47 - error NG6005: NgxSlickJsModule.forRoot returns a ModuleWithProviders type without a generic type argument. Please add a generic type argument to the ModuleWithProviders type. If this occurrence is in library code you don't control, please contact the library authors.

4     static forRoot({ links }?: Options.Root): ModuleWithProviders;

code-ishwar avatar Feb 11 '24 15:02 code-ishwar