Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
so1ve committed Jun 27, 2023
1 parent de0fb3f commit a7300f3
Showing 1 changed file with 22 additions and 0 deletions.
@@ -0,0 +1,22 @@
<script setup lang="ts">
import { exactType } from 'vue-tsc/shared';
declare module 'vue' {
export interface GlobalComponents {
FunctionalComponent: any;
}
}
declare const FunctionalComponent: new () => {
$slots: {
foo: (props: { bar: string }) => any;
}
};
</script>
<template>
<FunctionalComponent>
<template #foo="{ bar }">
{{ exactType(bar, '' as string) }}
</template>
</FunctionalComponent>
</template>

0 comments on commit a7300f3

Please sign in to comment.