Skip to content

Commit 5468464

Browse files
committed
update fixtures
1 parent 85ee5f0 commit 5468464

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test-workspace/tsc/passedFixtures/vue3/#5592/child.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts" generic="T">
22
defineOptions({ inheritAttrs: false });
3-
defineProps</* @vue-ignore */ T>();
3+
defineProps<T>();
44
</script>
55

66
<template>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<script setup lang="ts">
2+
import { exactType } from '../../shared';
23
import child from './child.vue';
34
</script>
45

56
<template>
67
<child #default="{ foo, bar }" :foo="42" bar="baz">
7-
{{ foo }} {{ bar }}
8+
{{ exactType(foo, {} as number) }} {{ exactType(bar, {} as string) }}
89
</child>
910
</template>

0 commit comments

Comments
 (0)