diff --git a/types/ramda/index.d.ts b/types/ramda/index.d.ts index 6ff65f6df3..9d1683fbbc 100644 --- a/types/ramda/index.d.ts +++ b/types/ramda/index.d.ts @@ -243,6 +243,13 @@ declare namespace R { */ applySpec(obj: any): (...args: any[]) => T; + /** + * Takes a value and applies a function to it. + * This function is also known as the thrush combinator. + */ + applyTo(el: T, fn: (t: T) => U): U; + applyTo(el: T): (fn: (t: T) => U) => U; + /** * Makes an ascending comparator function out of a function that returns a value that can be compared with < and >. */