Skip to content

Commit

Permalink
fix(types): add throttle and debounce options
Browse files Browse the repository at this point in the history
Fixes vuejs#335

These options were missing from the `VueApolloQueryDefinition` interface.
  • Loading branch information
sgarner authored Sep 6, 2021
1 parent 21a4de0 commit 609dc50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/options.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export interface VueApolloQueryDefinition<Instance = Vue, R = any> extends Watch
client?: string
deep?: boolean
subscribeToMore?: VueApolloSubscribeToMoreOptions | (VueApolloSubscribeToMoreOptions & ThisType<Instance>)[]
throttle?: number
debounce?: number
}

/* Subscriptions */
Expand Down

0 comments on commit 609dc50

Please sign in to comment.