Cloud Developer Advocate for Microsoft
...
Popular options.
Includes: classes, lexical scope, lambda...
Lacks …
Intent is clearer with types and interfaces.
Libraries make it easier to discover and learn how to use APIs.
Less "fat-finger", catch bugs earlier in the cycle.
Modules, Classes, and Lambdas take care of this.
Easier for multiple teams and members to work in parallel.
Team had 4x velocity with TypeScript vs. just JavaScript. Oh, and the Angular team uses it, for goodness' sake!
npm init -y
npm i typescript --save-dev
npm i @types/node --save-dev
node tsc --init
Examining tsconfig.json
.
tsconfig.json
"main": "lib/main"
and "types": "lib/main"
to package.json
src
directoryFirst app.
Full enchilada.
https://github.com/JeremyLikness/micro-locator