We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a390eec commit 9bc775dCopy full SHA for 9bc775d
packages/svelte/types/index.d.ts
@@ -448,8 +448,11 @@ declare module 'svelte' {
448
}): Exports;
449
/**
450
* Unmounts a component that was previously mounted using `mount` or `hydrate`.
451
- * */
452
- export function unmount(component: Record<string, any>): void;
+ *
+ */
453
+ export function unmount(component: Record<string, any>, options?: {
454
+ outro?: boolean;
455
+ } | undefined): void;
456
457
* Returns a promise that resolves once any pending state changes have been applied.
458
* */
0 commit comments