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
Hello.
Thanks for this great project.
I noticed that the compiled output of this package has a problem on it. Despite it is using the requireInterop helper, it still tries to access the default exported property, which is not required:
Huh that's odd, I couldn't reproduce it, as interopRequireDefault creates an object with a default property as far as I can tell. But, I had an old version of @types/jscodeshift that was pulling in a different version of ast-types, so I don't doubt there was some issue...I went ahead and changed all those statements to import * as t from 'ast-types'. There should be a release once CI passes!
Hello.
Thanks for this great project.
I noticed that the compiled output of this package has a problem on it. Despite it is using the requireInterop helper, it still tries to access the default exported property, which is not required:
That throws an exception because prop default does not exist.
I tested on node 14.
Changing it to this makes it work:
The text was updated successfully, but these errors were encountered: