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
TypeError: AwaitLock is not a constructor
at file:///home/kaspar/projects/await-lock/repro/example.js:2:14
at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
at async DefaultModuleLoader.import (node:internal/modules/esm/loader:228:24)
at async loadESM (node:internal/process/esm_loader:40:7)
at async handleMainPromise (node:internal/modules/run_main:66:12)
The text was updated successfully, but these errors were encountered:
node_modules/await-lock/build/AwaitLock.d.ts:5:5 - error TS18028: Private identifiers are only available when targeting ECMAScript 2015 and higher.
5 #private;
~~~~~~~~
This is similar to #5 but I'm not using
require
but Typescript withmoduleResolution: "node"
. https://github.com/kasbah/await-lock-bug-reproThe text was updated successfully, but these errors were encountered: