Skip to content

Commit eb54f2c

Browse files
committed
feat(collab): add empty-room bootstrap policies and user identity; refactor Python host transport
1 parent 0196f8a commit eb54f2c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

packages/superdoc/src/ws.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
declare module 'ws' {
2+
import type { IncomingMessage } from 'node:http';
3+
import type { Duplex } from 'node:stream';
4+
5+
export class WebSocketServer {
6+
constructor(options?: { noServer?: boolean });
7+
handleUpgrade(request: IncomingMessage, socket: Duplex, head: Buffer, callback: (websocket: any) => void): void;
8+
}
9+
}

0 commit comments

Comments
 (0)