Skip to content

typescript-cheatsheets/node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published