SyntaxFix
Write A Post
Hire A Developer
Questions
Enable "resolveJsonModule": true in tsconfig.json file and implement as below code, it's work for me:
"resolveJsonModule": true
tsconfig.json
const config = require('./config.json');