ngx-slickjs
ngx-slickjs copied to clipboard
NgxSlickJsModule.forRoot returns a ModuleWithProviders type without a generic type argument
Describe the bug With latest Angular 18, every forRoot requires 1 type argument.
To Reproduce Steps to reproduce the behavior:
- Install module in angular 18 proejct,
- 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;