mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
fix Streamjs GroupingResult
GroupingResult return an array of element
Exemple :
Stream.of({'firstname': 'john', 'lastname':'doe'}).groupBy(obj => obj.lastname)['doe']
=> is an Array
This commit is contained in:
committed by
GitHub
parent
e3fa8a2176
commit
e71a66fb28
Vendored
+1
-1
@@ -126,7 +126,7 @@ declare namespace Stream {
|
||||
}
|
||||
|
||||
export interface GroupingResult<T> {
|
||||
[index: string]: T
|
||||
[index: string]: T[]
|
||||
}
|
||||
|
||||
export interface Iterator<T> {
|
||||
|
||||
Reference in New Issue
Block a user