Skip to content

Commit 937094c

Browse files
Frank Dugan IIIAkryum
authored andcommitted
Add Typescript type for addSmartQuery() (#230)
Currently, there are no Typescript definitions for `addSmartQuery`. This PR adds one line to cover that edge case.
1 parent 2cbf10d commit 937094c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types/vue-apollo.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export interface ApolloProperty<V> {
2222
queries: any;
2323
mutate: Mutate<V>;
2424
subscribe: Subscribe;
25+
addSmartQuery: Query<V>;
2526
}
2627

2728
export function willPrefetch (component: VueApolloComponent, contextCallback?: boolean): VueApolloComponent

0 commit comments

Comments
 (0)