From 609dc50637aa3789d02507949d7810d48a2905b5 Mon Sep 17 00:00:00 2001 From: Simon Garner Date: Tue, 7 Sep 2021 07:47:28 +1200 Subject: [PATCH] fix(types): add throttle and debounce options Fixes #335 These options were missing from the `VueApolloQueryDefinition` interface. --- types/options.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/options.d.ts b/types/options.d.ts index 7e35cb531..51e744b42 100644 --- a/types/options.d.ts +++ b/types/options.d.ts @@ -69,6 +69,8 @@ export interface VueApolloQueryDefinition extends Watch client?: string deep?: boolean subscribeToMore?: VueApolloSubscribeToMoreOptions | (VueApolloSubscribeToMoreOptions & ThisType)[] + throttle?: number + debounce?: number } /* Subscriptions */