mirror of https://github.com/sveltejs/svelte
Add `$$events_def` and `$$slot_def` so that users can do
```
let el: SvelteComponent;
<SomeComponent bind:this={el} />
```
Without type errors.
Without this change, TS complains that `$$events_def` and `$$slot_def` is missing from `SvelteComponentDev` and therefore cannot be assigned to it.
pull/5937/head
parent
37b1a20c17
commit
931c10b2e8
Loading…
Reference in new issue