Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
praveenjm opened this issue Feb 12, 2024 · 1 comment
Open

Comments

@praveenjm
Copy link

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>;

@huhouhua
Copy link

I also encountered this problem
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants