We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d9a2d5 commit b5ccfd4Copy full SHA for b5ccfd4
packages/engine.io-client/lib/socket.ts
@@ -85,7 +85,9 @@ export interface SocketOptions {
85
*
86
* @default ['polling','websocket', 'webtransport']
87
*/
88
- transports?: string[] | TransportCtor[];
+ transports?:
89
+ | ("polling" | "websocket" | "webtransport" | string)[]
90
+ | TransportCtor[];
91
92
/**
93
* Whether all the transports should be tested, instead of just the first one.
0 commit comments