Skip to content

Commit 13c522f

Browse files
author
Jake Ho
committed
fix TypeScript error when multiple clients are used
1 parent eee91e5 commit 13c522f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/vue-apollo.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type VueApolloOptions = {
2121
export class VueApollo implements PluginObject<{}> {
2222
[key: string]: any;
2323
install: PluginFunction<{}>;
24-
constructor (options: { defaultClient: ApolloClient<{}>, defaultOptions?: VueApolloOptions });
24+
constructor (options: { defaultClient: ApolloClient<{}>, defaultOptions?: VueApolloOptions, clients: { [key: string]:any } });
2525
static install(pVue: typeof Vue, options?:{} | undefined): void;
2626
}
2727

0 commit comments

Comments
 (0)