UNPKG
ts-std-lib
Version:
latest (1.2.2)
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0
A standard library for typescript
github.com/SeanSobey/ts-std-lib
SeanSobey/ts-std-lib
ts-std-lib
/
src
/
AsyncFunction.ts
5 lines
(4 loc)
•
125 B
text/typescript
View Raw
1
2
3
4
5
/** * A function that returns a promise */
export
type
AsyncFunction
<T> =
(
...
args
:
ReadonlyArray
<
any
>
) =>
Promise
<T>;