Skip to content

Commit 2c7c1e6

Browse files
authored
chore: add tests for slot binding (#602)
1 parent e1c6a8a commit 2c7c1e6

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)