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
amanbhoria -
Ashish prajapati -
Bruno Sartori -
Ja -
Top comments (0)