mix typelizer.check (Typelizer v0.2.0)

Copy Markdown View Source

Checks that the generated TypeScript files match the Elixir code.

$ mix typelizer.check

The task generates every file in memory and compares the result with the output directories. On drift it prints the changed, missing and stale files with a short diff, and exits with status 1. Run it in git hooks, in CI and before a deploy.

See the Configuration guide.