-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
SyntaxError: Unexpected token export #76
Comments
I found a solution: u must change your import to |
@vlad909 yup, thanks, that’s what I did. |
@vlad909's solution did not work for me since typescript would complain about missing types. Ugly workaround for me:
|
Such a non-elegant solution. Someone who works on the library may consider submitting a PR to fix this. |
@varunarora feel free to do it 😉 |
Actually just change the primary entry point in package.json from |
Updated
|
Hi
Why can't I import directly in Jest?
code:
Throw error:
The text was updated successfully, but these errors were encountered: