Skip to content

Commit

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

These options were missing from the `VueApolloQueryDefinition` interface.
  • Loading branch information
sgarner authored Sep 20, 2021
1 parent 09d66ed commit 7ffb5f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vue-apollo-option/types/options.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ export interface VueApolloQueryDefinition<Result = any, Variables = OperationVar
client?: string
deep?: boolean
subscribeToMore?: VueApolloSubscribeToMoreOptions<Result, Variables> | VueApolloSubscribeToMoreOptions<Result, Variables>[]
throttle?: number
debounce?: number
}

/* Subscriptions */
Expand Down

0 comments on commit 7ffb5f8

Please sign in to comment.