Skip to content

Commit 7be5579

Browse files
author
Jake Ho
committed
make the clients parameter optional and use the 'ApolloClient' type
1 parent 13c522f commit 7be5579

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, clients: { [key: string]:any } });
24+
constructor (options: { defaultClient: ApolloClient<{}>, defaultOptions?: VueApolloOptions, clients?: { [key: string]: ApolloClient<{}> } });
2525
static install(pVue: typeof Vue, options?:{} | undefined): void;
2626
}
2727

0 commit comments

Comments
 (0)