Skip to content

Commit 2e69748

Browse files
committed
chore: add test for #2048
1 parent eae45d0 commit 2e69748

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
});
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<template>
2+
{{ loading }}
3+
<loading :a="str => exactType(str, {} as string)"></loading>
4+
</template>
5+
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

Comments
 (0)