Skip to content

Commit a69ee52

Browse files
committed
chore: add tests for slot binding
1 parent 10a218c commit a69ee52

14 files changed

+4485
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"parser": "typescript-eslint-parser-for-extra-files"
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<script lang="ts">
2+
let foo = { prop: true };
3+
</script>
4+
5+
<slot {foo}></slot>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<script lang="ts">
2+
import Component from "./ts-slot-binding01-input-child.svelte";
3+
</script>
4+
5+
<Component>
6+
<div let:foo={bar}>{bar.prop}</div>
7+
</Component>

0 commit comments

Comments
 (0)