Skip to content

Generic type 'ɵɵComponentDeclaration' requires 7 type argument(s). #148

@praveenjm

Description

@praveenjm

Getting this error while building the project, not sure what to do to resolve it. It was working fine with node 14.18.3, just to test some latest project, uninstalled this node version for some time and after reinstalling same 14.18.3 this error is occuring. Appreciate the help here.
✖ Compiling with Angular sources in Ivy full compilation mode.
node_modules/ngx-json-viewer/src/ngx-json-viewer/ngx-json-viewer.component.d.ts:23:18 - error TS2314: Generic type 'ɵɵComponentDeclaration' requires 7 type argument(s).
static ɵcmp: i0.ɵɵComponentDeclaration<NgxJsonViewerComponent, "ngx-json-viewer", never, { "json": "json"; "expanded": "expanded"; "depth": "depth"; "_currentDepth": "_currentDepth"; }, {}, never, never, false>;

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