github-actions
released this
06 Jul 16:30
·
7 commits
to main
since this release
Patch Changes
-
163dc33: State stream async generator now returns correct type.
Previously, when trying to use the an async iteratable
in afor await
loop, the value would be typed asunknown
.
It is now correctly typed with the typing of the State generic.const count = new State(0); for await (const value of count) { value; // ^? const value:number }