After installing angular json editor using this command - npm install --save jsoneditor ang-jsoneditor getting bellow error after angular compilation
ERROR in ../../node_modules/@angular/core/core.d.ts(13146,86): error TS1110: Type expected.
Spending hours to fix this issue I have tried below solutions:
- I have made changes in package.json file and update this
@angular/core": "^6.1.0"
to@angular/core": "6.1.0"
this and runnpm update
- run
npm install
- run
npm install -g @angular/cli
- made changes in package.json file and update this
"rxjs": "~6.2.0"
to"rxjs": "6.2.0"
this and runnpm update
but nothing works. Any help will be appreciated. Thanks.