add type declarations for optional options

Add type declarations for optional options as it throws error.
This commit is contained in:
sambit sahoo 2020-10-10 23:03:24 +05:30 committed by GitHub
parent c555cc72ef
commit 3e7e3b05a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
index.d.ts vendored
View file

@ -50,6 +50,10 @@ export interface VueSocketOptions {
options?: { options?: {
useConnectionNamespace?: boolean useConnectionNamespace?: boolean
} }
},
// type declarations for optional options
options?:{
path?: string;
} }
} }