Closed gnarf closed 7 years ago
Question is, why is this library not written in typed javascript which can generate those type definitions automatically and thus having 100% contract between lib API and type defs :)
That was the "TypeScript version" part of the issue. I'd be willing to work with someone willing to help make that a reality, but for now, the answer is quite simple: neither of the maintainers know TypeScript 😎
On Jul 10, 2017 17:51, "Martin Hochel" notifications@github.com wrote:
Question is, why is this library not written in typed javascript which can generate those type definitions automatically and thus having 100% contract between lib API and type defs :)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mzgoddard/preact-render-spy/issues/27#issuecomment-314260161, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhh6xIFHRUIa3zMCALe3JP5qhfj947kks5sMpzHgaJpZM4ORHNx .
Closed by #30
Lots of the preact community seems to be using TypeScript, though I'm unfamiliar with how to do it myself, it would be awesome if we could create the type defs needed for those users!