File tree Expand file tree Collapse file tree 3 files changed +11
-24
lines changed
tests/baselines/reference/api Expand file tree Collapse file tree 3 files changed +11
-24
lines changed Original file line number Diff line number Diff line change @@ -23,18 +23,27 @@ export interface SortedArray<T> extends Array<T> {
23
23
" __sortedArrayBrand" : any ;
24
24
}
25
25
26
- /** Common read methods for ES6 Map/Set. */
26
+ /**
27
+ * Common read methods for ES6 Map/Set.
28
+ *
29
+ * @internal
30
+ */
27
31
export interface ReadonlyCollection < K > {
28
32
readonly size : number ;
29
33
has ( key : K ) : boolean ;
30
34
keys ( ) : Iterator < K > ;
31
35
}
32
36
33
- /** Common write methods for ES6 Map/Set. */
37
+ /**
38
+ * Common write methods for ES6 Map/Set.
39
+ *
40
+ * @internal
41
+ */
34
42
export interface Collection < K > extends ReadonlyCollection < K > {
35
43
delete ( key : K ) : boolean ;
36
44
clear ( ) : void ;
37
45
}
46
+
38
47
/** Array that is only intended to be pushed to, never read. */
39
48
export interface Push < T > {
40
49
push ( ...values : T [ ] ) : void ;
Original file line number Diff line number Diff line change @@ -3966,17 +3966,6 @@ declare namespace ts {
3966
3966
interface SortedArray<T> extends Array<T> {
3967
3967
" __sortedArrayBrand": any;
3968
3968
}
3969
- /** Common read methods for ES6 Map/Set. */
3970
- interface ReadonlyCollection<K> {
3971
- readonly size: number;
3972
- has(key: K): boolean;
3973
- keys(): Iterator<K>;
3974
- }
3975
- /** Common write methods for ES6 Map/Set. */
3976
- interface Collection<K> extends ReadonlyCollection<K> {
3977
- delete(key: K): boolean;
3978
- clear(): void;
3979
- }
3980
3969
/** Array that is only intended to be pushed to, never read. */
3981
3970
interface Push<T> {
3982
3971
push(...values: T[]): void;
Original file line number Diff line number Diff line change @@ -31,17 +31,6 @@ declare namespace ts {
31
31
interface SortedArray < T > extends Array < T > {
32
32
" __sortedArrayBrand" : any ;
33
33
}
34
- /** Common read methods for ES6 Map/Set. */
35
- interface ReadonlyCollection < K > {
36
- readonly size : number ;
37
- has ( key : K ) : boolean ;
38
- keys ( ) : Iterator < K > ;
39
- }
40
- /** Common write methods for ES6 Map/Set. */
41
- interface Collection < K > extends ReadonlyCollection < K > {
42
- delete ( key : K ) : boolean ;
43
- clear ( ) : void ;
44
- }
45
34
/** Array that is only intended to be pushed to, never read. */
46
35
interface Push < T > {
47
36
push ( ...values : T [ ] ) : void ;
You can’t perform that action at this time.
0 commit comments