Strange unexpected token error #929
Replies: 2 comments
-
So usually an unexpected token error means there was a faulty transform somewhere that caused buggy output which later could not be parsed. Off the top of my head, there are two related issues I can guess at.
Some other things I might try to troubleshoot would be falling back to React 16 (due to #918) or TS 3.9 (due to #926) |
Beta Was this translation helpful? Give feedback.
-
Thank you @agilgur5 for taking the time and responding me. I've found out that this issue started to occur as soon as I changed Do you have any idea what's the issue here? |
Beta Was this translation helpful? Give feedback.
-
Hello everybody
I'm using tsdx for a little React component library. It worked great so far, but I ran into a strange error in this file:
The code seems to be valid and also Storybook doesn't have a problem with it. The whole project can be found here.
Do I need to configure something for babel? Does someone have an idea what is going on here?
Thank you in advance :)
Beta Was this translation helpful? Give feedback.
All reactions