Add MapAsync
type definition
This commit is contained in:
parent
648a7ab1bb
commit
e5d90775d0
1 changed files with 4 additions and 0 deletions
4
ts/types/MapAsync.ts
Normal file
4
ts/types/MapAsync.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
export type MapAsync<T> = (value: T) => Promise<T>;
|
Loading…
Add table
Add a link
Reference in a new issue