chore: damn type generations

pull/13362/head
paoloricciuti 2 years ago
parent bd66c7f602
commit 5f72e3f0e3

@ -1634,8 +1634,13 @@ declare module 'svelte/legacy' {
export function run(fn: () => void | (() => void)): void;
/**
* Function to mimic the multiple listeners available in svelte 4
* @deprecated
* */
export function handlers(...handlers: EventListener[]): EventListener;
/**
* Function to create a `bubble` function that mimic the behavior of `on:click` without handler available in svelte 4.
* @deprecated Use this only as a temporary solution to migrate your automatically delegated events in Svelte 5.
*/
export function createBubbler(): (type: string) => (event: Event) => boolean;
/**
* Substitute for the `trusted` event modifier

Loading…
Cancel
Save