UNPKG
iter-tools-es
Version:
latest (7.5.4)
7.5.4
7.5.3
7.5.2
7.5.1
7.5.0
7.4.0
7.3.3
7.3.2
7.3.1
7.3.0
7.2.2
7.2.1
7.2.0
7.1.4
7.1.3
7.1.2
7.1.1
7.1.0
7.0.2
7.0.1
7.0.0
The iterable toolbox
github.com/iter-tools/iter-tools
iter-tools/iter-tools
iter-tools-es
/
impls
/
$to-object
/
async-to-object.d.ts
5 lines
•
207 B
TypeScript
View Raw
1
2
3
4
5
import
{
AsyncWrappable
}
from
'../../types/async-iterable'
;
declare
function
asyncToObject<V>(
iterable
:
AsyncWrappable
<[
string
, V]>,
proto
?:
any
):
Promise
<{ [
key
:
string
]: V; }>;
export
{ asyncToObject };