Skip to content

Commit 2a4904b

Browse files
committed
regenerate
1 parent b2f9548 commit 2a4904b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/svelte/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,9 +449,9 @@ declare module 'svelte' {
449449
/**
450450
* Unmounts a component that was previously mounted using `mount` or `hydrate`.
451451
*
452-
* If `options.outro` is `true`, [transitions](https://svelte.dev/docs/svelte/transition) will play before the component is removed from the DOM.
452+
* 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.
453453
*
454-
* Returns a `Promise` that resolves after transitions have completed if `options.outro` is true, or immediately otherwise.
454+
* Returns a `Promise` that resolves after transitions have completed if `options.outro` is true, or immediately otherwise (prior to 5.13.0, returns `void`).
455455
*
456456
* ```js
457457
* import { mount, unmount } from 'svelte';

0 commit comments

Comments
 (0)