Replies: 1 comment
|
Duplicate of #18114. Thank you for opening this thread. Please continue the discussion there. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
After migration from Babel 7 to Babel 8, Babel started having problems when transpiling plain typescript files (with a
.ts) extension that contain an arrow function with generic notation:The error message looks as follows:
After some headbanging against the wall, I was able to get babel to transpile the source properly by making the following change to babel config:
from:
to:
Does anyone know if this is an appropriate fix for the above error? Is the above error a regression of Babel's; or am I doing something wrong?
All reactions