add more supported options. fix #300

pull/329/head
Reynold Liu 2 years ago
parent 61614c865e
commit 800455f023

7
index.d.ts vendored

@ -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
} }
} }

Loading…
Cancel
Save