Skip to content

Commit

Permalink
chore: update #3311 test case
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed May 15, 2024
1 parent 5748060 commit 018d607
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test-workspace/tsc/vue3/#3311/main.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
<template>
<HelloWorld :multiple="true" :modelValue="['a']" />
<HelloWorld :multiple="false" :modelValue="'a'" />
<HelloWorld :modelValue="'a'" />
<!-- @vue-expect-error -->
<HelloWorld :multiple="true" :modelValue="'a'" />
<!-- @vue-expect-error -->
<HelloWorld :multiple="false" :modelValue="['a']" />
<!-- @vue-expect-error -->
<HelloWorld :multiple="true" :modelValue="'a'" />
<HelloWorld :modelValue="['a']" />
</template>

<script lang="ts" setup>
Expand Down

0 comments on commit 018d607

Please sign in to comment.