Nathan Shively-Sanders
1b0f0b363a
Merge pull request #20658 from jvanbruegge/patch-1
...
ramda: Add applyTo (WIP)
2017-11-14 11:18:54 -08:00
Daniel Rosenwasser
ced7ded999
Merge pull request #21260 from pelotom/ramda-mapped-types
...
[ramda] Use mapped types for pluck, prop and props
2017-11-11 15:47:35 -08:00
Daniel Rosenwasser
87d7955d6f
Merge pull request #21138 from MazeChaZer/ramda-min-max-return-type-polymorphism
...
Ramda: Enable return type polymorphism for min/max
2017-11-10 20:46:07 -08:00
Jan van Brügge
81f249f1d3
Fix trailing whitespace
2017-11-09 13:12:32 +01:00
Angelo Ocana
dd669cd78b
Ramda: Remove return Any for partial/partialRight
...
Remove return **Any** signature for **partial** and **partialRight** as
asked by @samsonkeung
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/21262/files/483c1ab97d7b0f99c5ff0bb2496e852aaee8f5f2#r148995006
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/21262/files/483c1ab97d7b0f99c5ff0bb2496e852aaee8f5f2#r148995018
2017-11-06 10:29:25 -05:00
Angelo Ocana
483c1ab97d
Ramda: Make partial and partialRight binary fns
...
Change Added to Ramda 0.18.0
Pull Request: https://github.com/ramda/ramda/pull/1433
Upgrade guide: https://github.com/ramda/ramda/issues/1436
2017-11-05 21:35:52 -05:00
Tom Crockett
cb51b88dec
[ramda] Use mapped types for pluck, prop and props ( resolves #21238 )
2017-11-05 15:47:06 -08:00
Ron Buckton
740f7f95a9
Merge pull request #19825 from MazeChaZer/patch-2
...
Ramda: Tighten type signature for `append`
2017-11-03 22:38:26 -07:00
Ron Buckton
3f46cf99db
Merge pull request #20819 from cmaddalozzo/master
...
Add generics to memoize, partial, and once
2017-11-03 22:35:36 -07:00
Curtis Maddalozzo
6ba640f40f
Use default value for generic to remove redundant type signature
2017-11-01 09:57:23 +00:00
Jonas Schürmann
e26351b49f
Ramda: Enable return type polymorphism for min/max
2017-10-31 13:19:46 +01:00
Ron Buckton
337b048a5b
Merge pull request #21096 from LiamGoodacre/update/ramda-contributors
...
Remove myself from ramda contributors
2017-10-30 17:02:30 -07:00
Liam Goodacre
ba33e49fa7
Remove myself from ramda contributors
2017-10-28 22:31:24 +01:00
Samson Keung
b0d60e347d
up version
2017-10-28 14:22:59 -07:00
Samson Keung
da80f707e2
add typing for endsWith
2017-10-28 14:17:43 -07:00
c4605
74be8a1d63
ramda: R.nAry support curry ( #20707 )
2017-10-23 14:52:59 -07:00
samsonkeung
2091df4cbf
@type/ramda: Add type definition for startsWith ( #20594 )
...
* added type definition for startsWith in Ramda
* linting
2017-10-23 12:56:46 -07:00
Jonas Schürmann
7669a80182
Ramda: Tighten type signature for append
...
The Ramda documentation clearly states that the element to append an the elements in the list should have the same type.
The previous type definition unnecessarily weakened type safety. For example this error could not be detected by TypeScript:
interface A {
id: number
}
const list: A[] = []
R.append({idd: 2}, list)
Which seems ridiculous. If one wanted an intersection type, one could explicity define it to be used for the list/element type. Additionally, the function `prepend` already is as strict as this proposal, that should probably be consistent.
I also deleted a redundant line.
2017-10-23 11:47:57 +02:00
Curtis Maddalozzo
0937f4ba44
Add generics to memoize, partial, and once
2017-10-22 15:58:22 +01:00
Jan van Brügge
27fd582d60
Add applyTo
2017-10-17 22:30:11 +02:00
Jakub Korzeniowski
15dda2c9c9
[ramda] Improved definitions of type, head and last functions ( #20332 )
...
* Improved definitions of type, head and last functions
* Version bump
* Oops
* Linting
* no-unnecessary-type-assertion
* Removed version bump
2017-10-12 13:52:50 -07:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Andy
102bcc67fa
ramda: Fix lint ( #20367 )
2017-10-06 10:22:09 -07:00
Nathan Shively-Sanders
b8ea87c68e
Strict function variance fixes round 1
2017-10-02 15:50:34 -07:00
Honza Břečka
49f1f3aeeb
ramda: fix prop function definition ( #20099 )
2017-10-02 10:39:01 -07:00
Cort Spellman
1066f6fb82
[ramda]: Correct order of reducing-fn params in reduceRight ( #18798 )
...
The reducing function in Ramda's reduceRight has signature
(elem: T, acc: TResult) => TResult,
as per https://github.com/ramda/ramda/blob/v0.24.0/src/reduceRight.js .
The order of the parameters was switched at
https://github.com/ramda/ramda/commit/68d1dc19fb035b0fcafcc1857331f9d00986470f
2017-09-24 15:39:09 +09:00
guillaumep
da9afa6cdb
More verbose definition for pathOr
2017-09-19 14:53:38 -04:00
Andy
4fd03a732e
Ramda: disable no-unnecessary-generics ( #19785 )
2017-09-19 09:12:20 -07:00
Arthur Ozga
1ca74e8e7c
Merge pull request #19607 from charlespwd/master
...
Add object flavoured filter and reject definitions to Ramda
2017-09-14 14:28:46 -07:00
Nathan Shively-Sanders
ccf14e0598
Merge pull request #18873 from kujon/ramda_improvements
...
[ramda] Updated definitions for better type inference + narrower types
2017-09-07 10:06:44 -07:00
Charles-P. Clermont
3e94ea9c63
Fix tslint for ramdajs
2017-09-07 10:09:15 -04:00
Charles-P. Clermont
82ffd79295
Add object flavoured filter and reject definitions to Ramda
...
Fixes #17403
2017-09-07 09:46:08 -04:00
kujon
b7d6093839
Required update to tslint rules
2017-09-07 13:52:39 +01:00
Nathan Shively-Sanders
034ff8fbf4
Merge pull request #19227 from psachs21/master
...
Ramda: Values<T> should not resolve as {}[], instead it should resolve to T[]
2017-09-06 13:16:46 -07:00
kujon
17a517a138
Reverted the test changes
2017-09-06 14:22:53 +01:00
kujon
2ab3885f98
Reverted the changes to keys, values and toPairs
2017-09-06 14:21:55 +01:00
Mine Starks
c908aa1b06
Merge pull request #18538 from AJamesPhillips/ramda-curry-intersection
...
[Ramda] Curry intersection
2017-08-30 11:26:01 -07:00
Paul Sachs
0509fcf2a6
Unifying values declaration causes param to cast to any instead of proper generic type
...
Breaks linting but fixes typescript behavior.
2017-08-30 11:50:46 -04:00
Andy
e9fd4f5669
ramda: Fix compile errors ( #19209 )
...
* ramda: Fix compile errors
* Update TypeScript version
2017-08-28 07:20:42 -07:00
Andy
924fafffc0
Fix remaining lint errors ( #19166 )
2017-08-20 15:37:53 -07:00
Andy
5d6c651a1a
Apply stricter lint rules ( #19063 )
2017-08-17 14:53:41 -07:00
kujon
bc930b1b85
Improved typings for the following functions: countBy, keys, sortBy, toPairs, values
2017-08-11 15:18:58 +01:00
Miika Hänninen
7f30cbcfe9
Fix unfold step function return type ( #18692 )
2017-08-08 14:46:39 -07:00
Alexander James Phillips
b4456e08cd
[Ramda] Correct pipe with 8 steps, add pipe with 9 and 10 ( #18700 )
...
* Correct pipe with 8 steps, add pipe with 9 and 10
* Ramda - Add single and double argument versions of 9 and 10 pipe
2017-08-08 11:41:42 -07:00
Alexander James Phillips
48b91777a1
Update ramda-tests.ts
2017-08-03 12:45:40 +01:00
Alexander James Phillips
a200a48791
Update ramda-tests.ts
2017-08-03 08:57:06 +01:00
Simon Højberg
706ba7a529
Add ramda.traverse ( #18424 )
...
* Add ramda.traverse
* Use correct indention
2017-08-01 08:52:09 -07:00
Alexander James Phillips
8fa64b11d0
Ramda - Curry intersection
2017-08-01 15:29:26 +01:00
1M0reBug
b703c20c09
Fix #17461 : [ramda] added mergeDeep* functions ( #18177 )
...
* Changed the types of sub functions to be T3, T4 instead of any
2017-07-25 06:58:39 -07:00
Ryan Cavanaugh
f8fb8286cc
Merge pull request #17594 from teves-castro/improve-ramda-pick
...
Improve ramda pick types
2017-07-12 16:17:48 -07:00