Skip to content

Commit fdf3e51

Browse files
author
Guillaume Chau
committed
fix(types): missing client on subscribe
1 parent a1f9ebc commit fdf3e51

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

types/options.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ interface VueApolloSubscribeToMoreOptions extends SubscribeToMoreOptions {
7979

8080
interface VueApolloSubscriptionDefinition extends SubscriptionOptions {
8181
variables?: QueryVariables
82+
client?: string
8283
}
8384

8485
export type VueApolloSubscriptionProperty =

types/test/App.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ export const hey = Vue.extend({
148148
return {
149149
foo: this.meow
150150
}
151-
}
151+
},
152+
client: 'foo'
152153
}
153154
}
154155
},

0 commit comments

Comments
 (0)