@@ -385,7 +385,7 @@ declare module 'svelte' {
385
385
* }>();
386
386
* ```
387
387
*
388
- * @deprecated Use callback props and/or the `$host()` rune instead — see https://svelte-5-preview.vercel.app /docs/deprecations#createeventdispatcher
388
+ * @deprecated Use callback props and/or the `$host()` rune instead — see https://svelte.dev /docs/svelte/v5-migration-guide#Event-changes-Component-events
389
389
* */
390
390
export function createEventDispatcher < EventMap extends Record < string , any > = any > ( ) : EventDispatcher < EventMap > ;
391
391
/**
@@ -395,7 +395,7 @@ declare module 'svelte' {
395
395
*
396
396
* In runes mode use `$effect.pre` instead.
397
397
*
398
- * @deprecated Use `$effect.pre` instead — see https://svelte-5-preview.vercel.app /docs/deprecations#beforeupdate-and-afterupdate
398
+ * @deprecated Use `$effect.pre` instead — see https://svelte.dev /docs/svelte/$effect#$effect.pre
399
399
* */
400
400
export function beforeUpdate ( fn : ( ) => void ) : void ;
401
401
/**
@@ -405,7 +405,7 @@ declare module 'svelte' {
405
405
*
406
406
* In runes mode use `$effect` instead.
407
407
*
408
- * @deprecated Use `$effect` instead — see https://svelte-5-preview.vercel.app /docs/deprecations#beforeupdate-and-afterupdate
408
+ * @deprecated Use `$effect` instead — see https://svelte.dev /docs/svelte/$effect
409
409
* */
410
410
export function afterUpdate ( fn : ( ) => void ) : void ;
411
411
/**
@@ -2322,7 +2322,7 @@ declare module 'svelte/types/compiler/interfaces' {
2322
2322
* let count = $state(0);
2323
2323
* ```
2324
2324
*
2325
- * https://svelte-5-preview.vercel.app /docs/runes# $state
2325
+ * https://svelte.dev /docs/svelte/ $state
2326
2326
*
2327
2327
* @param initial The initial value
2328
2328
*/
@@ -2418,7 +2418,7 @@ declare namespace $state {
2418
2418
* </button>
2419
2419
* ```
2420
2420
*
2421
- * https://svelte-5-preview.vercel.app /docs/runes #$state- raw
2421
+ * https://svelte.dev /docs/svelte/$state #$state. raw
2422
2422
*
2423
2423
* @param initial The initial value
2424
2424
*/
@@ -2439,7 +2439,7 @@ declare namespace $state {
2439
2439
* </script>
2440
2440
* ```
2441
2441
*
2442
- * https://svelte-5-preview.vercel.app /docs/runes #$state.snapshot
2442
+ * https://svelte.dev /docs/svelte/$state #$state.snapshot
2443
2443
*
2444
2444
* @param state The value to snapshot
2445
2445
*/
@@ -2476,7 +2476,7 @@ declare namespace $state {
2476
2476
* let double = $derived(count * 2);
2477
2477
* ```
2478
2478
*
2479
- * https://svelte-5-preview.vercel.app /docs/runes# $derived
2479
+ * https://svelte.dev /docs/svelte/ $derived
2480
2480
*
2481
2481
* @param expression The derived state expression
2482
2482
*/
@@ -2498,7 +2498,7 @@ declare namespace $derived {
2498
2498
* });
2499
2499
* ```
2500
2500
*
2501
- * https://svelte-5-preview.vercel.app /docs/runes #$derived- by
2501
+ * https://svelte.dev /docs/svelte/$derived #$derived. by
2502
2502
*/
2503
2503
export function by < T > ( fn : ( ) => T ) : T ;
2504
2504
@@ -2537,7 +2537,7 @@ declare namespace $derived {
2537
2537
*
2538
2538
* Does not run during server side rendering.
2539
2539
*
2540
- * https://svelte-5-preview.vercel.app /docs/runes# $effect
2540
+ * https://svelte.dev /docs/svelte/ $effect
2541
2541
* @param fn The function to execute
2542
2542
*/
2543
2543
declare function $effect ( fn : ( ) => void | ( ( ) => void ) ) : void ;
@@ -2556,7 +2556,7 @@ declare namespace $effect {
2556
2556
*
2557
2557
* Does not run during server side rendering.
2558
2558
*
2559
- * https://svelte-5-preview.vercel.app /docs/runes #$effect- pre
2559
+ * https://svelte.dev /docs/svelte/$effect #$effect. pre
2560
2560
* @param fn The function to execute
2561
2561
*/
2562
2562
export function pre ( fn : ( ) => void | ( ( ) => void ) ) : void ;
@@ -2579,7 +2579,7 @@ declare namespace $effect {
2579
2579
*
2580
2580
* This allows you to (for example) add things like subscriptions without causing memory leaks, by putting them in child effects.
2581
2581
*
2582
- * https://svelte-5-preview.vercel.app /docs/runes #$effect- tracking
2582
+ * https://svelte.dev /docs/svelte/$effect #$effect. tracking
2583
2583
*/
2584
2584
export function tracking ( ) : boolean ;
2585
2585
@@ -2607,7 +2607,7 @@ declare namespace $effect {
2607
2607
* <button onclick={() => cleanup()}>cleanup</button>
2608
2608
* ```
2609
2609
*
2610
- * https://svelte-5-preview.vercel.app /docs/runes #$effect- root
2610
+ * https://svelte.dev /docs/svelte/$effect #$effect. root
2611
2611
*/
2612
2612
export function root ( fn : ( ) => void | ( ( ) => void ) ) : ( ) => void ;
2613
2613
@@ -2640,7 +2640,7 @@ declare namespace $effect {
2640
2640
* let { optionalProp = 42, requiredProp, bindableProp = $bindable() }: { optionalProp?: number; requiredProps: string; bindableProp: boolean } = $props();
2641
2641
* ```
2642
2642
*
2643
- * https://svelte-5-preview.vercel.app /docs/runes# $props
2643
+ * https://svelte.dev /docs/svelte/ $props
2644
2644
*/
2645
2645
declare function $props ( ) : any ;
2646
2646
@@ -2651,7 +2651,7 @@ declare function $props(): any;
2651
2651
* let { propName = $bindable() }: { propName: boolean } = $props();
2652
2652
* ```
2653
2653
*
2654
- * https://svelte-5-preview.vercel.app /docs/runes# $bindable
2654
+ * https://svelte.dev /docs/svelte/ $bindable
2655
2655
*/
2656
2656
declare function $bindable < T > ( fallback ?: T ) : T ;
2657
2657
@@ -2671,7 +2671,7 @@ declare function $bindable<T>(fallback?: T): T;
2671
2671
* $inspect(x, y).with(() => { debugger; });
2672
2672
* ```
2673
2673
*
2674
- * https://svelte-5-preview.vercel.app /docs/runes# $inspect
2674
+ * https://svelte.dev /docs/svelte/ $inspect
2675
2675
*/
2676
2676
declare function $inspect < T extends any [ ] > (
2677
2677
...values : T
@@ -2694,7 +2694,7 @@ declare function $inspect<T extends any[]>(
2694
2694
*
2695
2695
* Only available inside custom element components, and only on the client-side.
2696
2696
*
2697
- * https://svelte-5-preview.vercel.app /docs/runes# $host
2697
+ * https://svelte.dev /docs/svelte/ $host
2698
2698
*/
2699
2699
declare function $host < El extends HTMLElement = HTMLElement > ( ) : El ;
2700
2700
0 commit comments