0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
svelte/packages
Simon H b0a3fa1766
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` respectively
2023-06-28 23:56:40 +02:00
..
playground chore: upgrade dependencies (#8827) 2023-06-26 09:42:06 +02:00
svelte fix: ensure createEventDispatcher and ActionReturn work with generic function types (#8872) 2023-06-28 23:56:40 +02:00