Skip to content

Commit

Permalink
test component name
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Jul 5, 2023
1 parent d4ef704 commit ed2b8f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ import { exactType } from 'vue-tsc/shared';
declare module 'vue' {
export interface GlobalComponents {
ComponentWithinTestIssue1886: any;
ComponentForIssue1886: any;
}
}
declare const ComponentWithinTestIssue1886: new () => {
declare const ComponentForIssue1886: new () => {
$slots: {
foo: (props: { bar: string }) => any;
}
};
</script>

<template>
<ComponentWithinTestIssue1886>
<ComponentForIssue1886>
<template #foo="{ bar }">
{{ exactType(bar, {} as string) }}
</template>
</ComponentWithinTestIssue1886>
</ComponentForIssue1886>
</template>
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<script setup lang="ts">
declare module 'vue' {
export interface GlobalComponents {
TransitionWithinTestIssue2157: typeof import('vue')['Transition'];
TransitionForIssue2157: typeof import('vue')['Transition'];
}
};
</script>

<template>
<TransitionWithinTestIssue2157 enter-active-class="" />
<TransitionForIssue2157 enter-active-class="" />
</template>

0 comments on commit ed2b8f4

Please sign in to comment.