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
in index.d.ts to avoid TypeScript errors. Or better yet, because Server extends WebSocket.Server, these should be removed all together (unless it is currently serving a greater purpose).
@TekuConcept I think the reason for this duplication is for preserving the return type, to allow e.g. server.on('error', onError).on('stream', onStream).
should become
in
index.d.ts
to avoid TypeScript errors. Or better yet, because Server extends WebSocket.Server, these should be removed all together (unless it is currently serving a greater purpose).Looks like PR #152 resolves this issue.
The text was updated successfully, but these errors were encountered: