Skip to content

microsoft/typescript

v0.2.0

Skills for TypeScript upgrades, project setup, strictness, ESM, declaration publishing, and builds.

typescript-publish-types

How to publish TypeScript declarations from an npm package so consumers actually resolve them. Use this when asked to add types/typings to a package, ship .d.ts files, fix "Could not find a declaration file for module", or make a package's published types resolve correctly.

Read SKILL.md at the source

Pinned to revision d017fda5c841, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.