export DispatchOptions

pull/7064/head
bluwy 5 years ago
parent 97b6f2af53
commit fe6564f6dd

@ -11,6 +11,7 @@ export {
hasContext, hasContext,
tick, tick,
createEventDispatcher, createEventDispatcher,
DispatchOptions,
SvelteComponentDev as SvelteComponent, SvelteComponentDev as SvelteComponent,
SvelteComponentTyped SvelteComponentTyped
} from 'svelte/internal'; } from 'svelte/internal';

@ -27,7 +27,7 @@ export function onDestroy(fn: () => any) {
get_current_component().$$.on_destroy.push(fn); get_current_component().$$.on_destroy.push(fn);
} }
interface DispatchOptions { export interface DispatchOptions {
cancelable?: boolean; cancelable?: boolean;
} }

@ -6,6 +6,7 @@ export {
hasContext, hasContext,
tick, tick,
createEventDispatcher, createEventDispatcher,
DispatchOptions,
SvelteComponent, SvelteComponent,
SvelteComponentTyped SvelteComponentTyped
} from './index'; } from './index';

Loading…
Cancel
Save