tsd
A tool for testing TypeScript declaration files.
What it does
A tool for testing TypeScript declaration files.
When it fits
Protecting a library’s exported types with compile-time assertions.
Other options in this category
- Effect — Structuring asynchronous work, errors, dependencies, and resource lifecycles.
- Total TypeScript TSConfig — Starting projects with consistent compiler settings.
- True Myth — Representing absence and failure explicitly in TypeScript application logic.
- ts-expect — Checking that public types behave as intended during compilation.
- ts-pattern — Expressing structured branching with exhaustive matching over TypeScript values.
Source
Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.