mirror of https://github.com/sveltejs/svelte
fix: allow to pass in TS preference to migration (#13929)
First half of https://github.com/sveltejs/kit/issues/12880 - the idea is for the migration script to check for a tsconfig.json and then set it to `true` if one is foundpull/14032/head
parent
08bc37a374
commit
cbc2ca36ce
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: allow to pass in TS preference to migration
|
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
use_ts: true
|
||||
});
|
@ -0,0 +1 @@
|
||||
<slot />
|
@ -0,0 +1,9 @@
|
||||
<script>
|
||||
interface Props {
|
||||
children?: import('svelte').Snippet;
|
||||
}
|
||||
|
||||
let { children }: Props = $props();
|
||||
</script>
|
||||
|
||||
{@render children?.()}
|
Loading…
Reference in new issue