Skip to content

ngx-responsive fails on Angular 10 #151

@bjornharvold

Description

@bjornharvold

https://next.angular.io/guide/deprecations#modulewithproviders-type-without-a-generic

Compiling TypeScript sources through ngc
ERROR: node_modules/ngx-responsive/responsive.module.d.ts:15:49 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).

15     static forRoot(config?: IResponsiveConfig): ModuleWithProviders;
                                                   ~~~~~~~~~~~~~~~~~~~

An unhandled exception occurred: node_modules/ngx-responsive/responsive.module.d.ts:15:49 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s).

15     static forRoot(config?: IResponsiveConfig): ModuleWithProviders;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions