File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
lib/node_modules/@stdlib/array/base
group-entries-by/docs/types
group-indices-by/docs/types
group-values-by/docs/types Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ function indicator( v: string ): string {
35
35
{
36
36
const x = [ 'foo' , 'bar' ] ;
37
37
38
- groupEntriesBy ( x , indicator ) ; // $ExpectType EntriesResults<Key, string>
38
+ groupEntriesBy ( x , indicator ) ; // $ExpectType EntriesResults<string>
39
39
}
40
40
41
41
// The compiler throws an error if the function is provided a first argument which is not an array...
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ function indicator( v: string ): string {
35
35
{
36
36
const x = [ 'foo' , 'bar' ] ;
37
37
38
- groupIndicesBy ( x , indicator ) ; // $ExpectType IndicesResults<Key, number>
38
+ groupIndicesBy ( x , indicator ) ; // $ExpectType IndicesResults<number>
39
39
}
40
40
41
41
// The compiler throws an error if the function is provided a first argument which is not an array...
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import groupIndices = require( './index' );
26
26
const x = [ 1 , 2 , 3 ] ;
27
27
const g = [ 0 , 0 , 0 ] ;
28
28
29
- groupIndices ( x , g ) ; // $ExpectType IndicesResults<Key, number>
29
+ groupIndices ( x , g ) ; // $ExpectType IndicesResults<number>
30
30
}
31
31
32
32
// The compiler throws an error if the function is provided a first argument which is not an array...
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ function indicator( v: string ): string {
35
35
{
36
36
const x = [ 'foo' , 'bar' ] ;
37
37
38
- groupValuesBy ( x , indicator ) ; // $ExpectType ValuesResults<Key, string>
38
+ groupValuesBy ( x , indicator ) ; // $ExpectType ValuesResults<string>
39
39
}
40
40
41
41
// The compiler throws an error if the function is provided a first argument which is not an array...
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import groupValues = require( './index' );
26
26
const x = [ 1 , 2 , 3 ] ;
27
27
const g = [ 0 , 0 , 0 ] ;
28
28
29
- groupValues ( x , g ) ; // $ExpectType ValuesResults<Key, number>
29
+ groupValues ( x , g ) ; // $ExpectType ValuesResults<number>
30
30
}
31
31
32
32
// The compiler throws an error if the function is provided a first argument which is not an array...
You can’t perform that action at this time.
0 commit comments