mirror of https://github.com/sveltejs/svelte
make `SvelteComponentDev` typings more forgiving (#5937)
Add `$$events_def` and `$$slot_def` so that users can do
```
let el: SvelteComponent;
<SomeComponent bind:this={el} />
```
without type errors.
pull/7738/head
parent
4bab9db9f9
commit
e15554366b
Loading…
Reference in new issue