mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
added R.__ (placeholder arg for currying)
This commit is contained in:
Vendored
+6
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user