You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/svelte/src/internal/client/render.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -272,9 +272,9 @@ let mounted_components = new WeakMap();
272
272
/**
273
273
* Unmounts a component that was previously mounted using `mount` or `hydrate`.
274
274
*
275
-
* If `options.outro` is `true`, [transitions](https://svelte.dev/docs/svelte/transition) will play before the component is removed from the DOM.
275
+
* 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.
276
276
*
277
-
* Returns a `Promise` that resolves after transitions have completed if `options.outro` is true, or immediately otherwise.
277
+
* Returns a `Promise` that resolves after transitions have completed if `options.outro` is true, or immediately otherwise (prior to 5.13.0, returns `void`).
Copy file name to clipboardExpand all lines: packages/svelte/types/index.d.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -449,9 +449,9 @@ declare module 'svelte' {
449
449
/**
450
450
* Unmounts a component that was previously mounted using `mount` or `hydrate`.
451
451
*
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.
453
453
*
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`).
0 commit comments