-
Notifications
You must be signed in to change notification settings - Fork 236
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
does it support reactjs Typescript? #104
Comments
you can create your own type definitions or just ignore types for this lib. |
I used it with typescript. May be it helps you. `import * as React from 'react'; interface Props { class SliderComponent extends React.Component<Props, any> {
} export default SliderComponent as Slider;` |
Try creating a index.d.ts file at /scr/@types/react-rangefinder/ with this content, it should work.
|
FYI, I created types to DefinitelyTyped for this package. Slightly modified @aponomy's types and made a pull request: DefinitelyTyped/DefinitelyTyped#31721 |
No description provided.
The text was updated successfully, but these errors were encountered: