UNPKG

@kform/react

Version:

React integration for KForm.

7 lines (6 loc) 286 B
/** * Simple `Array.fromAsync` implementation. * @param iterable Iterable to transform into an array. * @returns Promise containing an array with all the elements in the iterable. */ export declare function arrayFromAsync<T>(iterable: Iterable<T> | AsyncIterable<T>): Promise<T[]>;