TypeScript Compiler
Author: Jonasz WiÄ…cek
Problem context
Without enough TypeScript knowledge developers might be confused by the reported diagnostics. That may lead to skipping proper typings in the application code. Sometimes developers choose to select random options in tsconfig.json or copy the values without knowing what exactly are they defining. Compiler API can also be used to dynamically generate typings or programmatically use the TypeScript compiler for specific needs.
Solutions
Knowledge about TypeScript compiler internals helps developers to:
- write stricter and safer typings
- better understand the reported errors
- use TypeScript compiler API for specific use cases