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
Argument of type 'ClusterAdapter' is not assignable to parameter of type 'AdapterConstructor'.
Type 'ClusterAdapter' is missing the following properties from type 'typeof Adapter': prototype, getEventListeners, addAbortListener, errorMonitor, and 5 more
The text was updated successfully, but these errors were encountered:
Im using Express.js and socket.io/pm2 + typescript.
const clusterAdapter = createAdapter()(nsp);
io.adapter(clusterAdapter);
setupWorker(io);
io.adapter accepts AdapterConstructor
the error:
The text was updated successfully, but these errors were encountered: