TypeScript
https://www.typescriptlang.org/
Notes
Configuring TypeScript
tsc src/index.ts --target ES2017 --module commonjs --watch{
"compilerOptions": {
"jsx": "react", // transform TSX files into JSX
"strict": true, // enable strict features
"module": "commonjs",
"allowJs": true, // check and compile JS
"target": "es2017", // target environment
"outDir": "lib",
"declaration": true, // create *.d.ts files
"sourceMap": true, // create source map for debug
},
"include": ["src"], // input files
}Basics
Functions
Interfaces and Type Aliases
Classes
Converting from JavaScript to TypeScript
Generics
Top and Bottom types
Advanced Types
Resources
Books
Courses
GitHub Repositories
Videos
Websites
Last updated