-
Notifications
You must be signed in to change notification settings - Fork 483
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
[type] Move type definitions from DefinitelyTyped #609
base: master
Are you sure you want to change the base?
[type] Move type definitions from DefinitelyTyped #609
Conversation
This reverts commit ef093ee.
@@ -20,7 +20,8 @@ | |||
"prop-types": "^15.6.0", | |||
"react-event-listener": "^0.6.0", | |||
"react-swipeable-views-core": "^0.13.7", | |||
"shallow-equal": "^1.2.1" | |||
"shallow-equal": "^1.2.1", | |||
"@material-ui/types": "^4.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems unrelated
"@material-ui/types": "^4.0.0" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
moved type definition from
Closes #506
i just moved, but type could be updated for instance,
getDomTreeShapes
andfindNativeHandler
are exported fromSwipeableViews.js
but not defined on DefinitelyTyped.i didn't fix because i'm wondering theses should be exported
adding type test