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
Aditya Mathur -
Muhammad Rizki Syahputra -
Seyed Ahmad -
Said MOUNAIM -
Top comments (0)