You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think maybe is babel/parser transform ast result not some with different stage code
The text was updated successfully, but these errors were encountered:
simplefeel
changed the title
babel-sugar-inject-h has a bug with ts
babel-sugar-inject-h has a bug when compile code with ts (target es5) before babel process
Apr 16, 2021
I have a .tsx file
it will compile first by typescript , tsconfig.json is
after ts compile with es5
when target is es5 , it will have problem , after bable will compile is
ObjectProperty
but , the plugin code traverse ObjectMethod|ClassMethod
howover, if target is
esnext
it will work ,because this node ast isObjectMethod
after ts compile with exnext
above is work
I think maybe is babel/parser transform ast result not some with different stage code
The text was updated successfully, but these errors were encountered: