• Stars
    star
    187
  • Rank 206,464 (Top 5 %)
  • Language
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

(seeking maintainers) Cheatsheets for experienced Node.js developers getting started with TypeScript

node-typescript-cheatsheet

Cheatsheets for experienced Node.js developers getting started with TypeScript

TS config

You can find more recommended TS config here.

Helpful tools

Tip 1

tsconfig.json:

{
  "compilerOptions": {
    "target": "es2015",
    "module: "commonjs"
  }
}

Tip 2

shipping typescript sourcemaps from a node server: http://npm.im/source-map-support

Tip 3

Instead of

nodemon --exec ts-node src/index.ts

do:

tsc --watch
nodemon dist/src/index.js

https://twitter.com/benawad/status/1211700652549779456