w33ble/rison-node

Provide TypeScript definitions

Opened this issue · 4 comments

Adding TS definitions would help with type safety

Yep, I think those typedefs would end up working for this. We'd just need to re-publish under @types/rison-node, or include those typedefs directly in this repository. I prefer the latter approach, as it's one less dependency to maintain in downstream projects

I'm also in favor of pulling types into this repo, less dependencies and also easier to keep things in sync.