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
Under TypeScript Node 16 module resolution (has type: module in the package.json and moduleResolution: Node16 in tsconfig.json), this package cannot be imported correctly.
@alexcorvi thanks for your work! But I'm afraid it's still incorrect:
importanchormefrom'anchorme'console.log(anchorme)// This expression is not callable.console.log(anchorme.list)// TypeScript error, but works with webpackconsole.log(anchorme.default.list)// TypeScript no error, but crashes after webpack
🐛 Bug Report
Under TypeScript Node 16 module resolution (has
type: module
in thepackage.json
andmoduleResolution: Node16
intsconfig.json
), this package cannot be imported correctly.To Reproduce
Observed behavior
Cannot be imported.
Expected behavior
Imported correctly.
Environment
The text was updated successfully, but these errors were encountered: