Answers for "how to compile .tsx file"

0

npx run ts file

npx ts-node src/foo.ts
Posted by: Guest on December-02-2020
0

how to compile ts in cmd

"scripts": {
    "clean": "rimraf dist",
    "start": "npm-run-all clean --parallel watch:build watch:server --print-label",
    "watch:build": "tsc --watch",
    "watch:server": "nodemon './dist/index.js' --watch './dist'"
}
Posted by: Guest on May-20-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language