add type declarations for optional options (#285)

Add type declarations for optional options as it throws error.
pull/281/merge
sambit sahoo 4 years ago committed by GitHub
parent c555cc72ef
commit 2f63eebb70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
index.d.ts vendored

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

Loading…
Cancel
Save