Now Wu<T> implements Iterable<T>

master
Paul Loyd 2017-12-16 17:01:47 +03:00
parent 1af68f1819
commit d481368563
1 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,9 @@ declare module 'wu' {
declare type DeepFlat<T> = $Call<<U>(DeepIterable<U> | U) => U, T>;
declare export default class Wu<T> {
// Implicit implement `Iterable<T>`.
@@iterator(): Iterator<T>;
static <T>(Iterable<T>): Wu<T>;
static values<T: Object>(T): Wu<$Values<T>>;