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
I recently got the error after upgrading from 6.6.2 to 7.1.0:
node_modules/p-queue/dist/index.d.ts:1:8 - error TS1259: Module '"..../node_modules/eventemitter3/index"' can only be default-imported using the 'esModuleInterop' flag
I think this line has to be changed to import * as EventEmitter from 'eventemitter3'
This is still an issue. Please update the import to import * as EventEmitter from 'eventemitter3'
Module '"node_modules/eventemitter3/index"' can only be default-imported using the 'allowSyntheticDefaultImports' flagts(1259)
index.d.ts(134, 1): This module is declared with 'export =', and can only be used with a default import when using the 'allowSyntheticDefaultImports' flag.
This is because node_modules\eventemitter3\index.d.ts does not have a default export.
I recently got the error after upgrading from 6.6.2 to 7.1.0:
I think this line has to be changed to
import * as EventEmitter from 'eventemitter3'
p-queue/source/index.ts
Line 1 in 76b81cd
The text was updated successfully, but these errors were encountered: