The return types of functions parseChunk and flush are incorrectly typed as Iterator<T> in Typescript declarations while it is supposed to be Iterable<T>!
This makes Typescript error out for spread operator ... as well as for loops.
I can make the change if PR's are welcomed.
Thanks.
The return types of functions
parseChunkandflushare incorrectly typed asIterator<T>in Typescript declarations while it is supposed to beIterable<T>!This makes Typescript error out for spread operator
...as well asforloops.I can make the change if PR's are welcomed.
Thanks.