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' } } },