Skip to content

Commit 8fda856

Browse files
committed
refactor: split out useModel implementation and tests
1 parent 92514db commit 8fda856

File tree

6 files changed

+632
-623
lines changed

6 files changed

+632
-623
lines changed

packages/dts-test/setupHelpers.test-d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ import {
22
type Ref,
33
type Slots,
44
type VNode,
5+
defineComponent,
56
defineEmits,
67
defineModel,
78
defineProps,
89
defineSlots,
910
toRefs,
1011
useAttrs,
12+
useModel,
1113
useSlots,
1214
withDefaults,
1315
} from 'vue'
1416
import { describe, expectType } from './utils'
15-
import { defineComponent } from 'vue'
16-
import { useModel } from 'vue'
1717

1818
describe('defineProps w/ type declaration', () => {
1919
// type declaration

0 commit comments

Comments
 (0)