From 2f63eebb70a36f462cc8fe688ab9b6185ab294bf Mon Sep 17 00:00:00 2001 From: sambit sahoo Date: Sat, 10 Oct 2020 23:54:46 +0530 Subject: [PATCH] add type declarations for optional options (#285) Add type declarations for optional options as it throws error. --- index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.d.ts b/index.d.ts index 8546d8f..dea7b6b 100644 --- a/index.d.ts +++ b/index.d.ts @@ -50,6 +50,10 @@ export interface VueSocketOptions { options?: { useConnectionNamespace?: boolean } + }, + // type declarations for optional options + options?:{ + path?: string; } }