Add Typescript type for addSmartQuery() (#230)
Currently, there are no Typescript definitions for `addSmartQuery`. This PR adds one line to cover that edge case.
This commit is contained in:
committed by
Guillaume Chau
parent
2cbf10db78
commit
937094cfcc
Vendored
+1
@@ -22,6 +22,7 @@ export interface ApolloProperty<V> {
|
||||
queries: any;
|
||||
mutate: Mutate<V>;
|
||||
subscribe: Subscribe;
|
||||
addSmartQuery: Query<V>;
|
||||
}
|
||||
|
||||
export function willPrefetch (component: VueApolloComponent, contextCallback?: boolean): VueApolloComponent
|
||||
Reference in New Issue
Block a user