mirror of https://github.com/sveltejs/svelte
fix: properly migrate imports types prefixed with $ (#14007)
parent
3876b302f3
commit
b6fccdb4f7
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: properly migrate imports types prefixed with $
|
@ -0,0 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { $Test } from './types';
|
||||
|
||||
export let data: $Test;
|
||||
</script>
|
@ -0,0 +1,9 @@
|
||||
<script lang="ts">
|
||||
import type { $Test } from './types';
|
||||
|
||||
interface Props {
|
||||
data: $Test;
|
||||
}
|
||||
|
||||
let { data }: Props = $props();
|
||||
</script>
|
Loading…
Reference in new issue