Answers for "typescript how to mode json files when compile"

4

tsconfig.json not generated

$ tsc --init
Posted by: Guest on January-12-2020
2

typescript how to mode json files when compile

{
  "compilerOptions": {
     "resolveJsonModule": true,
   },
   "include": [
     "*/src/**/package.json"
  ]
}
Posted by: Guest on January-02-2021
0

typescript compiler doesn't add json file

// add the underneath code in tsconfig.json, now json file will be imported 

"resolveJsonModule": true
Posted by: Guest on December-02-2020

Code answers related to "typescript how to mode json files when compile"

Code answers related to "Javascript"

Browse Popular Code Answers by Language