Open danvim opened 1 year ago
im with the same error, any workaround?
What version of typescript are you using?
version 5.0.4
im with the same error, any workaround?
@rogerluiz The fix should be import ts from 'typescript'
instead of the asterisk import. But only monkey patching the lib code would work.
I have just got the same error with typescript 5.2.2. Do you have any suggestions on how to work around the problem?
I believe the built
dist/chunks/options.mjs
code might have some issues, namely the TypeScript import. You might want to check all mjs files.From debugging:
test.mjs
Run results