added R.__ (placeholder arg for currying)

This commit is contained in:
Drew Wyatt
2018-10-30 17:31:19 -04:00
parent 3b647f0a80
commit 49121b4215
+6
View File
@@ -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.
*/