--- 'svelte': patch --- fix: ensure createEventDispatcher works with types from generics