add more supported options. fix #300

This commit is contained in:
Reynold Liu 2022-02-24 11:10:31 +08:00
parent 61614c865e
commit 800455f023

7
index.d.ts vendored
View file

@ -51,9 +51,12 @@ export interface VueSocketOptions {
useConnectionNamespace?: boolean useConnectionNamespace?: boolean
} }
}, },
// type declarations for optional options // type declarations for optional options
options?:{ options?:{
path?: string; path?: string,
transports?: Array<string>,
timeout?: number,
reconnection?: boolean
} }
} }