Commit Graph
60 Commits
Author SHA1 Message Date
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
Miloslav Nenadal e9ecb63b33 [ramda]: Improve map definition 2017-07-07 14:42:36 +02:00
Miloslav Nenadal acc192069e [ramda]: Add startsWith definition 2017-07-04 14:06:50 +02:00
Miloslav Nenadal cab8d0e70e [ramda]: Add forEachObjIndexed definition 2017-07-04 10:10:09 +02:00
Miloslav Nenadal 9d17546a00 [ramda]: More detailed isNil definition 2017-07-03 13:54:03 +02:00
Vítor Castro d80cb8f1f5 Improve ramda pick types 2017-06-29 00:24:13 +01:00
Nathan Shively-Sanders 9558b1699a Fix lint 2017-06-27 16:27:37 -07:00
Nathan Shively-Sanders b17086bce7 Fix Ramda for 2.4: evolve and functor map
1. Evolve now uses mapped type to more accurately reflect the
resulting type.
2. 2.4's contravariance checking of callbacks caught some incorrect
code. I fixed one instance that was nearly-correct and deleted one
instance that was non-sensical. It created an infinite functor by
returning itself.
2017-06-27 16:24:09 -07:00
Alejandro Haro 33d52686cc jslint compliance 2017-06-16 09:46:49 +01:00
Alejandro Haro 5425a3443d Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped 2017-06-16 09:43:55 +01:00
Alejandro Haro 6874128836 ramda: Code review feedback 2017-06-16 09:23:26 +01:00
Nathan Shively-Sanders a575e086a2 Merge pull request #17224 from DefinitelyTyped/weak-type-errors-round-2
Fix primitive weak type errors
2017-06-15 17:33:16 -07:00
Mine Starks cf55a4cce1 Merge pull request #17095 from xiongemi/update-ramda-to-024
update ramda to include ascend, descend, sortWith functions
2017-06-15 13:17:50 -07:00
Nathan Shively-Sanders 4874667de9 Fix primitive weak type errors
These weak type errors were not caught in TS 2.4 RC. The final TS 2.4
will catch weak type errors with primitives, so this PR fixes those
now-caught errors.
2017-06-15 11:46:46 -07:00
Alejandro Haro 84f4233b59 Update pathSatisfies comment description 2017-06-13 17:36:12 +01:00
Alejandro Haro e747f3f61a tslint compliance 2017-06-13 17:34:37 +01:00
Alejandro Haro 18960ebc18 ramda: Add R.pathSatisfies 2017-06-13 11:30:53 +01:00
Christopher Mckay e77bb4a004 ramda find functions can return undefined
http://ramdajs.com/docs/#find
2017-06-12 15:39:11 +10:00
Stephen King 26d632b5f4 ramda: Allow currying of type guards 2017-06-09 17:59:07 -06:00
Emily Xiong 16170e275b update ramda to include ascend, descend, sortWith functions 2017-06-09 16:05:58 -04:00
Nathan Shively-Sanders ef2df6b7a0 Merge pull request #16585 from mrdziuban/fix-ramda-try-catch
ramda: Fix R.tryCatch definition
2017-06-01 16:22:33 -07:00