-
Notifications
You must be signed in to change notification settings - Fork 208
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
Broken Typescript definitions? #269
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: 8.0.3
When importing
react-waypoint
asimport Waypoint as 'react-waypoint'
my tests error with:However, if I try to import as:
import * as Waypoint from 'react-waypoint'
Typescript will complain:
TS2604: JSX element type 'Waypoint' does not have any construct or call signatures.
The workaround I've found is to use
7.3.4
which allows me toimport * as Waypoint from 'react-waypoint'
and my tests pass.Are the typescript definitions broken?
The text was updated successfully, but these errors were encountered: