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:
Frank Dugan III
2018-05-21 12:45:17 -05:00
committed by Guillaume Chau
parent 2cbf10db78
commit 937094cfcc
+1
View File
@@ -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