mirror of
https://github.com/MetinSeylan/Vue-Socket.io.git
synced 2025-04-16 15:21:28 +02:00
add type declarations for optional options (#285)
Add type declarations for optional options as it throws error.
This commit is contained in:
parent
c555cc72ef
commit
2f63eebb70
1 changed files with 4 additions and 0 deletions
4
index.d.ts
vendored
4
index.d.ts
vendored
|
@ -50,6 +50,10 @@ export interface VueSocketOptions {
|
||||||
options?: {
|
options?: {
|
||||||
useConnectionNamespace?: boolean
|
useConnectionNamespace?: boolean
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
// type declarations for optional options
|
||||||
|
options?:{
|
||||||
|
path?: string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue