A Bun plugin to automatically generate TypeScript declaration files (.d.ts) during build.
-
Updated
Apr 10, 2025 - TypeScript
A Bun plugin to automatically generate TypeScript declaration files (.d.ts) during build.
Typescript: simple demo with custom declaration file, included with reference path
Learn TypeScript (for JavaScript programmers)
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
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."