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
The included types use export = wtf which is not supported when targeting ESM.
TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.
node_modules/wtf_wikipedia/types/index.d.ts:191:0:
191 │ export = wtf
╵ ~~~~~~~~~~~~
Can be worked around if you don't need newer features/fixes with version 9.0.1
The text was updated successfully, but these errors were encountered:
hey thanks William - I've never seen that error, and wtf is used in a lot of typescript projects.
I'm happy to merge a PR, or make a change if you have a suggestion.
To be honest, I really know nothing about typescript, and how the config seems to change all the time.
please let me know if I can help, or how to reproduce this error.
cheers
Related: #441
The included types use
export = wtf
which is not supported when targeting ESM.Can be worked around if you don't need newer features/fixes with version
9.0.1
The text was updated successfully, but these errors were encountered: