From 3e7e3b05a80c562f895497d7fa94970ef5ee3b93 Mon Sep 17 00:00:00 2001 From: sambit sahoo Date: Sat, 10 Oct 2020 23:03:24 +0530 Subject: [PATCH] add type declarations for optional options 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; } }