use-cannon
use-cannon copied to clipboard
Improve TypeScript support
trafficstars
TypeScript is already supported in some capacity, and many type declarations already exist. However there is room for improvement and an even better developer experience. 😺
Convert the webworker to TypeScript and improve typings across all modules (minimize type assertions, improve event types with discriminated unions, etc.)
This is waiting on the typescript branch for cannon-es to be completed
EDIT: The initial TS conversion for [email protected] is now complete
Make the API types more honest... See https://github.com/react-spring/use-cannon/issues/51#issuecomment-607005331