gordonbrander / spellcaster

Reactive signals UI library
MIT License
57 stars 2 forks source link

Re-implement in TypeScript #27

Closed gordonbrander closed 8 months ago

gordonbrander commented 9 months ago

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.