diff --git a/types.ts b/types.ts index 4c261cb..8f108f1 100644 --- a/types.ts +++ b/types.ts @@ -46,6 +46,7 @@ export type Key = string | number[] | ArrayBuffer | Uint8ArrayArrayBuffer; export interface UpgradeWebSocketOptions { protocol?: string; + idleTimeout?: number; } export type UpgradeWebSocketFn = (