@types/ramda
Advanced tools
Comparing version 0.27.48 to 0.27.49
{ | ||
"name": "@types/ramda", | ||
"version": "0.27.48", | ||
"version": "0.27.49", | ||
"description": "TypeScript definitions for ramda", | ||
@@ -162,2 +162,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ramda", | ||
"githubUsername": "couzic" | ||
}, | ||
{ | ||
"name": "Nikita Balikhin", | ||
"url": "https://github.com/NEWESTERS", | ||
"githubUsername": "NEWESTERS" | ||
} | ||
@@ -176,4 +181,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "49cac4a7b451c5aa16a031179531f5c2c08883fc5e8f7dabd7dfaf5adf896bfb", | ||
"typesPublisherContentHash": "0726f10606ec81a2819053834cb2b7e4cdc45ab144a19e6b72b449428b204e88", | ||
"typeScriptVersion": "4.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 10 Nov 2021 19:01:31 GMT | ||
* Last updated: Fri, 12 Nov 2021 22:01:22 GMT | ||
* Dependencies: [@types/ts-toolbelt](https://npmjs.com/package/@types/ts-toolbelt) | ||
@@ -17,2 +17,2 @@ * Global values: `R` | ||
# Credits | ||
These definitions were written by [Scott O'Malley](https://github.com/TheHandsomeCoder), [Erwin Poeze](https://github.com/donnut), [Matt DeKrey](https://github.com/mdekrey), [Stephen King](https://github.com/sbking), [Alejandro Fernandez Haro](https://github.com/afharo), [Vítor Castro](https://github.com/teves-castro), [Jordan Quagliatini](https://github.com/1M0reBug), [Simon Højberg](https://github.com/hojberg), [Samson Keung](https://github.com/samsonkeung), [Angelo Ocana](https://github.com/angeloocana), [Rayner Pupo](https://github.com/raynerd), [Nikita Moshensky](https://github.com/moshensky), [Ethan Resnick](https://github.com/ethanresnick), [Tomas Szabo](https://github.com/deftomat), [Maciek Blim](https://github.com/blimusiek), [Marcin Biernat](https://github.com/biern), [Rayhaneh Banyassady](https://github.com/rayhaneh), [Ryan McCuaig](https://github.com/rgm), [Drew Wyatt](https://github.com/drewwyatt), [John Ottenlips](https://github.com/jottenlips), [Nitesh Phadatare](https://github.com/minitesh), [Krantisinh Deshmukh](https://github.com/krantisinh), [Pierre-Antoine Mills](https://github.com/pirix-gh), [Aram Kharazyan](https://github.com/nemo108), [Jituan Lin](https://github.com/jituanlin), [Philippe Mills](https://github.com/Philippe-mills), [Saul Mirone](https://github.com/Saul-Mirone), [Nicholai Nissen](https://github.com/Nicholaiii), [Mike Deverell](https://github.com/devrelm), [Jorge Santana](https://github.com/LORDBABUINO), and [Mikael Couzic](https://github.com/couzic). | ||
These definitions were written by [Scott O'Malley](https://github.com/TheHandsomeCoder), [Erwin Poeze](https://github.com/donnut), [Matt DeKrey](https://github.com/mdekrey), [Stephen King](https://github.com/sbking), [Alejandro Fernandez Haro](https://github.com/afharo), [Vítor Castro](https://github.com/teves-castro), [Jordan Quagliatini](https://github.com/1M0reBug), [Simon Højberg](https://github.com/hojberg), [Samson Keung](https://github.com/samsonkeung), [Angelo Ocana](https://github.com/angeloocana), [Rayner Pupo](https://github.com/raynerd), [Nikita Moshensky](https://github.com/moshensky), [Ethan Resnick](https://github.com/ethanresnick), [Tomas Szabo](https://github.com/deftomat), [Maciek Blim](https://github.com/blimusiek), [Marcin Biernat](https://github.com/biern), [Rayhaneh Banyassady](https://github.com/rayhaneh), [Ryan McCuaig](https://github.com/rgm), [Drew Wyatt](https://github.com/drewwyatt), [John Ottenlips](https://github.com/jottenlips), [Nitesh Phadatare](https://github.com/minitesh), [Krantisinh Deshmukh](https://github.com/krantisinh), [Pierre-Antoine Mills](https://github.com/pirix-gh), [Aram Kharazyan](https://github.com/nemo108), [Jituan Lin](https://github.com/jituanlin), [Philippe Mills](https://github.com/Philippe-mills), [Saul Mirone](https://github.com/Saul-Mirone), [Nicholai Nissen](https://github.com/Nicholaiii), [Mike Deverell](https://github.com/devrelm), [Jorge Santana](https://github.com/LORDBABUINO), [Mikael Couzic](https://github.com/couzic), and [Nikita Balikhin](https://github.com/NEWESTERS). |
@@ -214,8 +214,7 @@ import { A, O, T } from "ts-toolbelt"; | ||
*/ | ||
export interface Filter { | ||
<T>(fn: (value: T) => boolean): FilterOnceApplied<T>; | ||
<T, Kind extends 'array'>(fn: (value: T) => boolean): (list: readonly T[]) => T[]; | ||
<T, Kind extends 'object'>(fn: (value: T) => boolean): (list: Dictionary<T>) => Dictionary<T>; | ||
<T>(fn: (value: T) => boolean, list: readonly T[]): T[]; | ||
<T>(fn: (value: T) => boolean, obj: Dictionary<T>): Dictionary<T>; | ||
export interface Find { | ||
<T, P extends T>(pred: (val: T) => val is P, list: readonly T[]): P | undefined; | ||
<T>(pred: (val: T) => boolean, list: readonly T[]): T | undefined; | ||
<T, P extends T>(pred: (val: T) => val is P): (list: readonly T[]) => P | undefined; | ||
<T>(pred: (val: T) => boolean): (list: readonly T[]) => T | undefined; | ||
} | ||
@@ -227,14 +226,2 @@ | ||
*/ | ||
type FilterOnceApplied<A> = | ||
<K extends A[] | Dictionary<A>>(source: K) => | ||
K extends Array<infer U> | ||
? U[] | ||
: K extends Dictionary<infer U> | ||
? Dictionary<U> | ||
: never; | ||
/** | ||
* <needs description> | ||
* @param A | ||
*/ | ||
export type Functor<A> = | ||
@@ -241,0 +228,0 @@ | { ['fantasy-land/map']: <B>(fn: (a: A) => B) => Functor<B>; [key: string]: any } |
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
168467
3377