Skip to content

Commit d5bcd50

Browse files
authored
fix(integrations): use relative import in component.ts (#5025)
1 parent 1bd9081 commit d5bcd50

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/integrations/useAsyncValidator/component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import type { UseAsyncValidatorOptions, UseAsyncValidatorReturn } from '@vueuse/integrations/useAsyncValidator'
21
import type { Rules } from 'async-validator'
32
import type { Reactive, SlotsType } from 'vue'
4-
import { useAsyncValidator } from '@vueuse/integrations/useAsyncValidator'
3+
import type { UseAsyncValidatorOptions, UseAsyncValidatorReturn } from './index'
54
import { defineComponent, reactive } from 'vue'
5+
import { useAsyncValidator } from './index'
66

77
export interface UseAsyncValidatorProps {
88
form: Record<string, any>

packages/integrations/useFocusTrap/component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { RenderableComponent } from '@vueuse/core'
2-
import type { UseFocusTrapOptions, UseFocusTrapReturn } from '@vueuse/integrations/useFocusTrap'
32
import type { Reactive, SlotsType } from 'vue'
4-
import { useFocusTrap } from '@vueuse/integrations/useFocusTrap'
3+
import type { UseFocusTrapOptions, UseFocusTrapReturn } from './index'
54
import { defineComponent, h, reactive, shallowRef } from 'vue'
5+
import { useFocusTrap } from './index'
66

77
export interface UseFocusTrapProps extends RenderableComponent {
88
options?: UseFocusTrapOptions

packages/integrations/useSortable/component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { RenderableComponent } from '@vueuse/core'
2-
import type { UseSortableOptions, UseSortableReturn } from '@vueuse/integrations/useSortable'
32
import type { Reactive, SlotsType } from 'vue'
3+
import type { UseSortableOptions, UseSortableReturn } from './index'
44
import { useVModel } from '@vueuse/core'
5-
import { useSortable } from '@vueuse/integrations/useSortable'
65
import { defineComponent, h, reactive, shallowRef } from 'vue'
6+
import { useSortable } from './index'
77

88
export interface UseSortableProps extends RenderableComponent {
99
modelValue: any[]

0 commit comments

Comments
 (0)