Skip to content

Commit

Permalink
refactor: split out useModel implementation and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 11, 2024
1 parent 92514db commit 8fda856
Show file tree
Hide file tree
Showing 6 changed files with 632 additions and 623 deletions.
4 changes: 2 additions & 2 deletions packages/dts-test/setupHelpers.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ import {
type Ref,
type Slots,
type VNode,
defineComponent,
defineEmits,
defineModel,
defineProps,
defineSlots,
toRefs,
useAttrs,
useModel,
useSlots,
withDefaults,
} from 'vue'
import { describe, expectType } from './utils'
import { defineComponent } from 'vue'
import { useModel } from 'vue'

describe('defineProps w/ type declaration', () => {
// type declaration
Expand Down
Loading

0 comments on commit 8fda856

Please sign in to comment.