Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit b145e86

Browse files
committed
Remove an unused function.
1 parent 2812915 commit b145e86

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/utils/Common.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,6 @@ export function commonPrefix(left: string, right: string) {
267267
return left.substring(0, i);
268268
}
269269

270-
export function compose<A, B, C>(f: (fp: A) => B, g: (gp: B) => C): (rp: A) => C {
271-
return (p: A) => g(f(p));
272-
}
273-
274270
export function mapObject<T, R>(object: Dictionary<T>, mapper: (key: string, value: T) => R): R[] {
275271
const result: R[] = [];
276272

0 commit comments

Comments
 (0)