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
node_modules/lmdb/index.d.ts:470:1 - error TS1203: Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.
470 export = lmdb
The error message goes away and it is possible to compile without errors when manually changing the last line of index.d.ts from export = lmdb
to export default lmdb
Error message:
The error message goes away and it is possible to compile without errors when manually changing the last line of index.d.ts from
export = lmdb
to
export default lmdb
testing code:
tsconfig.json:
package.json:
The text was updated successfully, but these errors were encountered: