mirror of https://github.com/sveltejs/svelte
chore: better error message for not using snippet type (#9602)
language tools checks that a function passed to `{@render ..}` is returning a type that adheres to the `Snippet` return type. When it does not, the error message is pretty useless without this additional info text.pull/9576/head
parent
5f6c5ca8ae
commit
88f1a8f62e
Loading…
Reference in new issue