@types/ramda
Advanced tools
Comparing version 0.27.35 to 0.27.36
{ | ||
"name": "@types/ramda", | ||
"version": "0.27.35", | ||
"version": "0.27.36", | ||
"description": "TypeScript definitions for ramda", | ||
@@ -169,4 +169,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "9d6887bd33ac183719efe918050bde1b5ce57a99d44908f8fcc8cde4f9c5b6b7", | ||
"typesPublisherContentHash": "93af0f0c7ce0551421988d77627f1c86fceba7d1365faa73f88ae2d97f9c7257", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 20 Jan 2021 00:49:28 GMT | ||
* Last updated: Mon, 25 Jan 2021 00:53:54 GMT | ||
* Dependencies: [@types/ts-toolbelt](https://npmjs.com/package/@types/ts-toolbelt) | ||
@@ -14,0 +14,0 @@ * Global values: `R` |
@@ -239,5 +239,5 @@ import { A, O, T } from "ts-toolbelt"; | ||
*/ | ||
export interface Functor<A> { | ||
map<U>(fn: (a: A) => U): Functor<U>; | ||
} | ||
export type Functor<A> = | ||
| { ['fantasy-land/map']: <B>(fn: (a: A) => B) => Functor<B>; [key: string]: any } | ||
| { map: <B>(fn: (a: A) => B) => Functor<B>; [key: string]: any }; | ||
@@ -259,7 +259,8 @@ // --------------------------------------------------------------------------------------- | ||
* <needs description> | ||
* @param S | ||
* @param A | ||
*/ | ||
export interface Lens { | ||
<T, U>(obj: T): U; | ||
set<T, U>(str: string, obj: T): U; | ||
} | ||
export type Lens<S, A> = ( | ||
functorFactory: (a: A) => Functor<A> | ||
) => (s: S) => Functor<S>; | ||
@@ -266,0 +267,0 @@ // --------------------------------------------------------------------------------------- |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
164434
3348