From 937094cfccbb2333fcb65bfd49ddcf4b8d0e768a Mon Sep 17 00:00:00 2001 From: Frank Dugan III Date: Mon, 21 May 2018 12:45:17 -0500 Subject: [PATCH] Add Typescript type for addSmartQuery() (#230) Currently, there are no Typescript definitions for `addSmartQuery`. This PR adds one line to cover that edge case. --- types/vue-apollo.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/vue-apollo.d.ts b/types/vue-apollo.d.ts index a5cbbba..f21f8fb 100644 --- a/types/vue-apollo.d.ts +++ b/types/vue-apollo.d.ts @@ -22,6 +22,7 @@ export interface ApolloProperty { queries: any; mutate: Mutate; subscribe: Subscribe; + addSmartQuery: Query; } export function willPrefetch (component: VueApolloComponent, contextCallback?: boolean): VueApolloComponent \ No newline at end of file