We still output same JS interface, but now with d.ts files in dist.
I was having trouble with JSDoc TypeScript types making it across package boundary. Typescript gives us the same vanilla JS output and better syntax, at the cost of some developer tooling.
No requirement to use Typescript on the library consumer side! It's still zero-dependency vanilla JS, but now with .d.ts type definitions if you want them.
We still output same JS interface, but now with d.ts files in dist.
I was having trouble with JSDoc TypeScript types making it across package boundary. Typescript gives us the same vanilla JS output and better syntax, at the cost of some developer tooling.
No requirement to use Typescript on the library consumer side! It's still zero-dependency vanilla JS, but now with
.d.ts
type definitions if you want them.