We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf30e68 commit 017fcdcCopy full SHA for 017fcdc
1 file changed
plugins/auto-refetch/src/index.ts
@@ -7,7 +7,7 @@
7
*/
8
9
import type { PiniaColadaPlugin, UseQueryEntry, UseQueryOptions } from '@pinia/colada'
10
-import { toValue } from 'vue'
+import { toValue, type MaybeRefOrGetter } from 'vue'
11
12
/**
13
* Options for the auto-refetch plugin.
@@ -17,7 +17,7 @@ export interface PiniaColadaAutoRefetchOptions {
17
* Whether to enable auto refresh by default.
18
* @default false
19
20
- autoRefetch?: boolean
+ autoRefetch?: MaybeRefOrGetter<boolean>
21
}
22
23
0 commit comments