Edit tsconfig.json;
"resolveJsonModule": true,
"esModuleInterop": true
And call json file;
import example from '../assets/example.json';
Edit tsconfig.json;
"resolveJsonModule": true,
"esModuleInterop": true
And call json file;
import example from '../assets/example.json';
For further actions, you may consider blocking this person and/or reporting abuse
Talha Ahsan -
Sajad DP -
Nicolas Frizzarin -
Harsh boricha -
Top comments (0)