From 2a4904b86b806daa89db62c9e1c8b97c560e7866 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 14 Dec 2024 09:11:41 -0500 Subject: [PATCH] regenerate --- packages/svelte/types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/svelte/types/index.d.ts b/packages/svelte/types/index.d.ts index bafa7a2265e5..dca0fd99f0b7 100644 --- a/packages/svelte/types/index.d.ts +++ b/packages/svelte/types/index.d.ts @@ -449,9 +449,9 @@ declare module 'svelte' { /** * Unmounts a component that was previously mounted using `mount` or `hydrate`. * - * If `options.outro` is `true`, [transitions](https://svelte.dev/docs/svelte/transition) will play before the component is removed from the DOM. + * Since 5.13.0, if `options.outro` is `true`, [transitions](https://svelte.dev/docs/svelte/transition) will play before the component is removed from the DOM. * - * Returns a `Promise` that resolves after transitions have completed if `options.outro` is true, or immediately otherwise. + * Returns a `Promise` that resolves after transitions have completed if `options.outro` is true, or immediately otherwise (prior to 5.13.0, returns `void`). * * ```js * import { mount, unmount } from 'svelte';