From 49121b4215bfc5c377b00db46321aeb8d2d9fd12 Mon Sep 17 00:00:00 2001 From: Drew Wyatt Date: Tue, 30 Oct 2018 17:31:19 -0400 Subject: [PATCH] added R.__ (placeholder arg for currying) --- types/ramda/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/types/ramda/index.d.ts b/types/ramda/index.d.ts index 9375c3107b..0295396091 100644 --- a/types/ramda/index.d.ts +++ b/types/ramda/index.d.ts @@ -436,6 +436,12 @@ declare namespace R { } interface Static { +/** + * Placeholder. When used with functions like curry, or op, the second argument is applied to the second + * position, and it returns a function waiting for its first argument. + */ + __: any; /* This is used in examples throughout the docs, but I it only seems to be directly explained here: https://ramdajs.com/0.9/docs/#op */ + /** * Adds two numbers (or strings). Equivalent to a + b but curried. */