types
types copied to clipboard
I think the types of omit have been strengthened recently as (since minor upgrades to v0.29) I have a number of type errors that are flagged, especially for omit. If...
the following function declaration generates a typescript compile error: `const userMatchRoles = user => roles => R.converge(R.or, [R.includes(user.role), R.isEmpty])(roles);` of course the error is not raised due to typescript strict...
[Quoting](https://github.com/ramda/ramda/issues/3264#issuecomment-1140217001) @valerii15298 > Docs for usage with typescript: It would be great to have the opportunity to write docs for typescript-specific stuff for particular functions. Some functions when using with...
 the first error:  the second error: 
Repro: ```ts it("does not type curry correctly", () => { type Foo = { id: string; name: string }; const transform = curry((name: string, id: string): Foo => ({ id:...
The error msg: ``` Argument of type '{ (obj: "value" extends UK ? O : never): { [OK in keyof O]: O[OK]["value"]; }; (list: readonly U[]): U extends readonly (infer...
## Problem #50 incorrectly altered the original types for `fromPairs`, `keys`, `toPairs` and `toPairsIn`. The implementation of these functions filter out symbol keys via [`for ... in`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in#:~:text=ignoring%20properties%20keyed%20by%20symbols) or [Object.keys](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys#:~:text=object%27s%20own%20enumerable-,string%2Dkeyed%20property%20names,-.). The...
**Remove blanket support for object shape alteration** The previous type definition for `assoc` allowed any key to be added to any object. It also allowed for the value type of...
* remove unnecessary constraint from propEq value: the function should receive any type values of object, no matter what parameter it received; * add additional types to use with placeholder
* remove unnecessary constraint from propEq value: the function should receive any type values of object, no matter what parameter it received; * add additional types to use with placeholder