Skip to content

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.

Expressions in TypeScript

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

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: