Add MapAsync
type definition
This commit is contained in:
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>;
|
Reference in New Issue
Block a user