Skip to content
React Libraries
On this page

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

Project source for tsd ↗

Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.

Make application logic type-safe →

All typescript & typed logic options →