From fdf3e51ef1a486a8787c5d3095279da161760331 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Fri, 13 Sep 2019 01:24:44 +0200 Subject: [PATCH] fix(types): missing client on subscribe --- types/options.d.ts | 1 + types/test/App.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/types/options.d.ts b/types/options.d.ts index 29cdec1..7e35cb5 100644 --- a/types/options.d.ts +++ b/types/options.d.ts @@ -79,6 +79,7 @@ interface VueApolloSubscribeToMoreOptions extends SubscribeToMoreOptions { interface VueApolloSubscriptionDefinition extends SubscriptionOptions { variables?: QueryVariables + client?: string } export type VueApolloSubscriptionProperty = diff --git a/types/test/App.ts b/types/test/App.ts index c02d38f..068f3af 100644 --- a/types/test/App.ts +++ b/types/test/App.ts @@ -148,7 +148,8 @@ export const hey = Vue.extend({ return { foo: this.meow } - } + }, + client: 'foo' } } },