TypeScript Declaration Files

Parent: TypeScript Expert · researched 2026-06-03T23:22:47.968Z· 10 sources · 7 concepts · skill typescript-declaration-files

A lang-js-ts hub reference for producing and shipping TypeScript type information: how .d.ts

TypeScript Declaration Files (.d.ts Authoring & Type Distribution)

Overview

1. Declaration emit — turning `.ts` into `.d.ts`

2. `--isolatedDeclarations` (TS 5.5)

3. Hand-authoring `.d.ts` — the global-vs-module rule

4. Declaration merging & module augmentation

5. Shipping types from a package

Tools / Frameworks

Methodology

Consuming & contributing `@types` / DefinitelyTyped

Anti-Patterns

Troubleshooting

References

Children

← the whole tree · 3D view· how to read this page