From e5d90775d0241726da16b183d92fedeed78a3dce Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Sun, 15 Apr 2018 03:05:16 -0400 Subject: [PATCH] Add `MapAsync` type definition --- ts/types/MapAsync.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ts/types/MapAsync.ts diff --git a/ts/types/MapAsync.ts b/ts/types/MapAsync.ts new file mode 100644 index 000000000..538adfe9d --- /dev/null +++ b/ts/types/MapAsync.ts @@ -0,0 +1,4 @@ +/** + * @prettier + */ +export type MapAsync = (value: T) => Promise;