mariohmol / ang-jsoneditor

Angular Jsoneditor that works with angular 4 to angular 15
https://stackblitz.com/edit/angular-json-editor
MIT License
156 stars 89 forks source link

Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments. #134

Closed SeKutai closed 9 months ago

SeKutai commented 9 months ago

I have an error inside of jsoneditor.component.ts that says Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments.ts(2707) the line that is giving the error is:

static ɵcmp: i0.ɵɵComponentDeclaration<JsonEditorComponent, "json-editor", never, { "options": { "alias": "options"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "change": "change"; "jsonChange": "jsonChange"; }, never, never, false, never>;

err

I might have installed ang-jsoneditor wrong but am not sure of what I may have missed

I am using: Angular CLI: 14.1.0 Node: 16.15.1 Package Manager: npm 8.11.0 OS: win32 x64 Browser: Microsoft Edge for Business Version 120.0.2210.133

SeKutai commented 9 months ago

Sorry this was actually and issue with jsoneditor my bad.