From 800455f0232cef05ecc59c67555c6edd77d20510 Mon Sep 17 00:00:00 2001 From: Reynold Liu Date: Thu, 24 Feb 2022 11:10:31 +0800 Subject: [PATCH] add more supported options. fix #300 --- index.d.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index dea7b6b..ccca59d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -51,9 +51,12 @@ export interface VueSocketOptions { useConnectionNamespace?: boolean } }, - // type declarations for optional options + // type declarations for optional options options?:{ - path?: string; + path?: string, + transports?: Array, + timeout?: number, + reconnection?: boolean } }