A Bun plugin to automatically generate TypeScript declaration files (.d.ts) during build.
-
Updated
Apr 10, 2025 - TypeScript
8000
A Bun plugin to automatically generate TypeScript declaration files (.d.ts) during build.
Learn TypeScript (for JavaScript programmers)
Sentient Rights
Have you ever tried to write a declaration/definition file in TypeScript and felt lost? Here I give you a basic introduction on what needs to be done to write a declaration file. Enjoy!
Test your TypeScript types
Typescript: simple demo with custom declaration file, included with reference path
Add a description, image, and links to the declaration-files topic page so that developers can more easily learn about it.
To associate your repository with the declaration-files topic, visit your repo's landing page and select "manage topics."