mirror of https://github.com/sveltejs/svelte
fix: account for empty statements when visiting in transform async (#17524)
parent
1ff7dd6123
commit
917ea2d4ae
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: account for empty statements when visiting in transform async
|
||||
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
async test() {}
|
||||
});
|
||||
@ -0,0 +1,6 @@
|
||||
<script>
|
||||
await Promise.resolve(42);
|
||||
const { name } = $props();
|
||||
</script>
|
||||
|
||||
{name}
|
||||
Loading…
Reference in new issue