File tree 2 files changed +2
-9
lines changed 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ var inited = false;
11
11
12
12
/**
13
13
* @template T
14
+ * @extends {Set<T> }
14
15
*/
15
16
export class ReactiveSet extends Set {
16
17
/** @type {Map<T, import('#client').Source<boolean>> } */
Original file line number Diff line number Diff line change @@ -1984,19 +1984,11 @@ declare module 'svelte/reactivity' {
1984
1984
constructor ( ...values : any [ ] ) ;
1985
1985
#private;
1986
1986
}
1987
- class ReactiveSet < T > extends Set < any > {
1987
+ class ReactiveSet < T > extends Set < T > {
1988
1988
1989
1989
constructor ( value ?: Iterable < T > | null | undefined ) ;
1990
1990
1991
- has ( value : T ) : boolean ;
1992
-
1993
1991
add ( value : T ) : this;
1994
-
1995
- delete ( value : T ) : boolean ;
1996
- keys ( ) : IterableIterator < T > ;
1997
- values ( ) : IterableIterator < T > ;
1998
- entries ( ) : IterableIterator < [ T , T ] > ;
1999
- [ Symbol . iterator ] ( ) : IterableIterator < T > ;
2000
1992
#private;
2001
1993
}
2002
1994
class ReactiveMap < K , V > extends Map < any , any > {
You can’t perform that action at this time.
0 commit comments