pull/17004/head
Rich Harris 3 days ago
parent 1aa3db4641
commit c5f17c577c

@ -449,10 +449,10 @@ declare module 'svelte' {
* */ * */
export function flushSync<T = void>(fn?: (() => T) | undefined): T; export function flushSync<T = void>(fn?: (() => T) | undefined): T;
export function fork(fn: () => void): Promise<{ export function fork(fn: () => void): {
commit: () => void; commit: () => void;
discard: () => void; discard: () => void;
}>; };
/** /**
* Returns a `[get, set]` pair of functions for working with context in a type-safe way. * Returns a `[get, set]` pair of functions for working with context in a type-safe way.
* *

Loading…
Cancel
Save