Skip to content

Commit 823f7ff

Browse files
committed
fix types
1 parent 768251e commit 823f7ff

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

packages/svelte/types/index.d.ts

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1876,10 +1876,10 @@ declare module 'svelte/motion' {
18761876
* const tween = Tween.of(() => number);
18771877
* </script>
18781878
* ```
1879-
*
1879+
*
18801880
*/
18811881
static of<U>(fn: () => U, options?: TweenedOptions<U> | undefined): Tween<U>;
1882-
1882+
18831883
constructor(value: T, options?: TweenedOptions<T>);
18841884
/**
18851885
* Sets `tween.target` to `value` and returns a `Promise` that resolves if and when `tween.current` catches up to it.
@@ -1898,21 +1898,21 @@ declare module 'svelte/motion' {
18981898

18991899
declare module 'svelte/reactivity' {
19001900
export class SvelteDate extends Date {
1901-
1901+
19021902
constructor(...params: any[]);
19031903
#private;
19041904
}
19051905
export class SvelteSet<T> extends Set<T> {
1906-
1906+
19071907
constructor(value?: Iterable<T> | null | undefined);
1908-
1908+
19091909
add(value: T): this;
19101910
#private;
19111911
}
19121912
export class SvelteMap<K, V> extends Map<K, V> {
1913-
1913+
19141914
constructor(value?: Iterable<readonly [K, V]> | null | undefined);
1915-
1915+
19161916
set(key: K, value: V): this;
19171917
#private;
19181918
}
@@ -1922,7 +1922,7 @@ declare module 'svelte/reactivity' {
19221922
}
19231923
const REPLACE: unique symbol;
19241924
export class SvelteURLSearchParams extends URLSearchParams {
1925-
1925+
19261926
[REPLACE](params: URLSearchParams): void;
19271927
#private;
19281928
}
@@ -1994,7 +1994,7 @@ declare module 'svelte/reactivity' {
19941994
*/
19951995
export function createSubscriber(start: (update: () => void) => (() => void) | void): () => void;
19961996
class ReactiveValue<T> {
1997-
1997+
19981998
constructor(fn: () => T, onsubscribe: (update: () => void) => void);
19991999
get current(): T;
20002000
#private;
@@ -2059,7 +2059,7 @@ declare module 'svelte/reactivity/window' {
20592059
get current(): number | undefined;
20602060
};
20612061
class ReactiveValue<T> {
2062-
2062+
20632063
constructor(fn: () => T, onsubscribe: (update: () => void) => void);
20642064
get current(): T;
20652065
#private;
@@ -2935,8 +2935,6 @@ declare namespace $effect {
29352935
*/
29362936
export function tracking(): boolean;
29372937

2938-
export function active(): boolean;
2939-
29402938
/**
29412939
* The `$effect.root` rune is an advanced feature that creates a non-tracked scope that doesn't auto-cleanup. This is useful for
29422940
* nested effects that you want to manually control. This rune also allows for creation of effects outside of the component
@@ -3071,4 +3069,4 @@ declare namespace $inspect {
30713069
*/
30723070
declare function $host<El extends HTMLElement = HTMLElement>(): El;
30733071

3074-
//# sourceMappingURL=index.d.ts.map
3072+
//# sourceMappingURL=index.d.ts.map

0 commit comments

Comments
 (0)