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 eae45d0 commit 2e69748Copy full SHA for 2e69748
test-workspace/tsc/vue3/#2048/components.ts
@@ -0,0 +1,5 @@
1
+import { defineComponent, PropType } from 'vue';
2
+
3
+export const Loading = defineComponent({
4
+ props: { a: {} as PropType<(arg: string) => void> },
5
+});
test-workspace/tsc/vue3/#2048/main.vue
@@ -0,0 +1,11 @@
+<template>
+ {{ loading }}
+ <loading :a="str => exactType(str, {} as string)"></loading>
+</template>
6
+<script lang="ts" setup>
7
+import { exactType } from '../../shared';
8
+import { Loading } from './components';
9
10
+let loading = false;
11
+</script>
0 commit comments