mirror of https://github.com/sveltejs/svelte
fix: ensure createEventDispatcher and ActionReturn work with generic function types (#8872)
fixes #8860 This contains a small but unfortunately unavoidable breaking change: If you used `never` to type that the second parameter of `createEventDispatcher` shouldn't be set or that the action accepts no parameters (which the docs recommended for a short time), then you need to change that to `null` and `undefined` respectivelypull/8855/head
parent
7934a7f4d2
commit
b0a3fa1766
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: ensure `createEventDispatcher` and `ActionReturn` work with types from generic function parameters
|
Loading…
Reference in new issue