mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Add missing optional factory argument (#43405)
https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-websocket-server/src/RSocketWebSocketServer.js#L56
This commit is contained in:
@@ -7,7 +7,7 @@ import * as ws from 'ws';
|
||||
* A WebSocket transport server.
|
||||
*/
|
||||
export class RSocketWebSocketServer implements TransportServer {
|
||||
constructor(options: ws.ServerOptions, encoders?: Encoders<any>);
|
||||
constructor(options: ws.ServerOptions, encoders?: Encoders<any>, factory?: (options: ws.ServerOptions) => ws.Server);
|
||||
start(): Flowable<DuplexConnection>;
|
||||
stop(): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user