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
This expression is not constructable.
Type 'typeof import("/home/bennycode/dev/bennycode/coinbase-pro-node/node_modules/reconnecting-websocket/dist/reconnecting-websocket")' has no construct signatures.ts(2351)
Hello, I am using TS 5.2 and ESM modules (
"module": "NodeNext"
&"moduleResolution": "Node16"
). I have also activated"esModuleInterop": true
.I am using RWS in the following way:
However, I am getting this error:
I can fix the error by writing:
But then my code crashes during execution with:
How can I properly fix this error? I am currently cheating the compiler with:
The text was updated successfully, but these errors were encountered: