type for ws server options
This commit is contained in:
parent
abaf9ab3b4
commit
e5c4a1b8f6
@ -40,7 +40,7 @@ export class WebSocketServer extends EventEmitter implements IWebSocketServer {
|
||||
const path = this.config.path;
|
||||
this.path = `${path}${path.endsWith('/') ? "" : "/"}${WS_PATH}`;
|
||||
|
||||
const options = {
|
||||
const options: WebSocketLib.ServerOptions = {
|
||||
path: this.path,
|
||||
server,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user