ramda: Code review feedback

This commit is contained in:
Alejandro Haro
2017-06-16 09:23:26 +01:00
parent 84f4233b59
commit 6874128836
+3 -5
View File
@@ -16,15 +16,13 @@ declare namespace R {
type Path = Array<(number | string)>;
type ListIterator<T, TResult> = (value: T, index: number, list: T[]) => TResult;
interface Functor<T> {
map<U>(fn: (t: T) => U): Functor<U>;
}
type ObjectIterator<T, TResult> = (element: T, key: string, obj: Dictionary<T>) => Dictionary<TResult>;
interface KeyValuePair<K, V> extends Array<K | V> { 0: K; 1: V;
interface KeyValuePair<K, V> extends Array<K | V> {
0: K;
1: V;
}
interface ArrayLike {