Expressions in TypeScript
Writing expressions in TypeScript is nek level. You get type-checking, intelligent code-completion, the ability to bundle multiple files, automated testing, and more things I can’t remember right now.
The ability to write expressions for After Effects in TypeScript has completely changed my workflow, my hairstyle, my life.
If you’re already across all the goodness that TypeScript has to offer, just head here to Tim Haywood’s excellent guide:
How to write After Effects expressions in TypeScript | Motion Developer
If you’re new to TypeScript
Section titled “If you’re new to TypeScript”TypeScript is a way to write JavaScript that offers a whole lot more power. A few features:
- Strict type-checking. Makes your code more robust by catching errors.
- Bundling multiple files. Break complex projects down into smaller parts.
- Automatic testing. Helps you verify your code works as expected.
To get started with TypeScript, check out the official docs:
Bonus TypeScript expression thingies
Section titled “Bonus TypeScript expression thingies”- Visual Studio Code is a free, extensible, and powerful text editor. It’s much more fun to write expressions in this beast than in the After Effects interface.
- TypeScript’s official site.
- Also from Tim: an AE expressions reference.