We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85ee5f0 commit 5468464Copy full SHA for 5468464
test-workspace/tsc/passedFixtures/vue3/#5592/child.vue
@@ -1,6 +1,6 @@
1
<script setup lang="ts" generic="T">
2
defineOptions({ inheritAttrs: false });
3
-defineProps</* @vue-ignore */ T>();
+defineProps<T>();
4
</script>
5
6
<template>
test-workspace/tsc/passedFixtures/vue3/#5592/main.vue
@@ -1,9 +1,10 @@
<script setup lang="ts">
+import { exactType } from '../../shared';
import child from './child.vue';
7
<child #default="{ foo, bar }" :foo="42" bar="baz">
- {{ foo }} {{ bar }}
8
+ {{ exactType(foo, {} as number) }} {{ exactType(bar, {} as string) }}
9
</child>
10
</template>
0 commit comments