Typechecking code that imports openai websocket client fails with the following error:
node_modules/openai/beta/realtime/websocket.d.ts:7:19 - error TS2344: Type 'ws' does not satisfy the constraint 'abstract new (...args: any) => any'.
7 }) ? InstanceType<ws> : any;
~~
node_modules/openai/beta/realtime/websocket.d.ts:6:22
6 WebSocket: infer ws;
~~
This type parameter might need an `extends abstract new (...args: any) => any` constraint.