Skip to content

Conversation

@kodai3
Copy link

@kodai3 kodai3 commented Jul 12, 2020

moved type definition from

Closes #506

i just moved, but type could be updated for instance, getDomTreeShapes and findNativeHandler are exported from SwipeableViews.js but not defined on DefinitelyTyped.
i didn't fix because i'm wondering theses should be exported


adding type test

@kodai3 kodai3 changed the title move type definitions from DefinitelyTyped [type] Move type definitions from DefinitelyTyped Jul 28, 2020
@caleb-harrelson caleb-harrelson added the needs testing This PR needs testing label Aug 14, 2020
"react-swipeable-views-core": "^0.13.7",
"shallow-equal": "^1.2.1"
"shallow-equal": "^1.2.1",
"@material-ui/types": "^4.0.0"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems unrelated

Suggested change
"@material-ui/types": "^4.0.0"

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kodai3, are you planning to fix this PR? It's the last of 3 opened ones, I guess @oliviertassinari is waiting for it before a potential merge & publish

Copy link
Owner

@oliviertassinari oliviertassinari May 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I support the idea to have the types built in the library directly.
The types package of Material-UI is meant for internal usages so it shouldn't be here. As for the other pull requests. This one can be work on independently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs testing This PR needs testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

react-swipeable-views-utils support for typescript

4 participants