Hello! Welcome to the COSCon 2020 Workshop, TypeScript Compiler 101 🎉. In this Workshop, you'll learn how to use TypeScript Compiler API and how to write a transformer.
Note: If you don't know the difference between Statement
and Expression
, this workshop is too hard for you.
-
Click Use this template.
-
Clone your new repo.
-
Install dependencies.
-
Pick an exercise in
./tests/
, code, and runnpm run test -- -t=test-name
oryarn test -t=test-name
- TypeScript AST viewer
- TTypescript, over TypeScript tool to use custom transformers in the
tsconfig.json