]> git.ardis.lu - csvio/commit
Add TypeScript declaration file (`.d.ts`) generation
authorArdis Lu <ardisglu@gmail.com>
Wed, 30 Apr 2025 05:05:31 +0000 (22:05 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 30 Apr 2025 05:05:31 +0000 (22:05 -0700)
commit66164961f4bf5df5b49652f09509c6f62ed7d4e8
treea7c6d5cca5df0ee088bec61601d4a0c62eab18ae
parentace148b616a22b27f1bcfbdce6ccbb4e007772fe
Add TypeScript declaration file (`.d.ts`) generation

This is the cleanest way to make a JS library importable to a TS project. This approach is similar to Svelte's approach.

Note the dev dependency on TS is only used for `.d.ts` generation. The source code itself still does not use TS (or any dependencies other than Node.js) at all.
.gitignore [new file with mode: 0644]
package.json
This page took 0.03664 seconds and 4 git commands to generate.