-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add typescript types? #125
Comments
Looks like definitely typed project exists, but the types don't map up correctly 👍 |
@on3al awesome, thanks. yeah, that looks like the v4 api. I updated the issue above for v5. |
Thank you @adambowles ! published #133 's types for Do you know how we deprecate the I'm going to attempt to create some types for |
Yep, works perfectly! I think we should leave DefinitelyTyped up for people to get types for v4 (if they're still depending on that version for whatever reason), maybe move it into a folder to indicate this (see https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node). I'm not very familiar with this process. Maybe we don't do anything at all. |
Going to publish these with the bug fix #138 . All types currently published as |
published with |
create / export types for typescript for v5
<Swipeable />
Add TypeScript types for Swipeable Component v5 #133useSwipeable
add useSwipeable types #137v4 types - https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-swipeable/index.d.ts
The text was updated successfully, but these errors were encountered: