Knowledge · testing

Type-Level Testing — The Evidence the Compiler Leaves Behind

How to verify compilation instead of execution so that 'what wrong code does this type actually block' is pinned down in code, plus the @ts-expect-error and mutation checks that tell you whether the test is still alive

Date
2026-08-23
Reading time
7 min
Confidence
Inferred

This page is a machine translation of the Korean original. Read the original

Document graph

Related documents

Documents that mention this

Related Knowledge

Tags

typescripttype-testingts-expect-errorcompile-time-verificationtest-design