Skip to content

Commit dae3c2e

Browse files
committed
fix: autoImports can now accept arbitrary members of composables
1 parent 3def272 commit dae3c2e

File tree

1 file changed

+1
-1
lines changed
  • packages/vue-query-nuxt/src/runtime

1 file changed

+1
-1
lines changed

packages/vue-query-nuxt/src/runtime/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const composables = [
1414
"useQueryClient"
1515
] as const
1616

17-
type VueQueryComposables = typeof composables
17+
type VueQueryComposables = typeof composables[number][] | false
1818
export interface ModuleOptions {
1919
stateKey: string
2020
autoImports: VueQueryComposables | false

0 commit comments

Comments
 (0)