Commit Graph
175 Commits
Author SHA1 Message Date
David Driscoll 657277a43c Renamed tests file.
Fixed remaining tests.
2014-05-04 20:16:10 -04:00
David Driscoll a404ae70d2 Merge remote-tracking branch 'remotes/parent/master' 2014-04-15 15:15:24 -04:00
David Driscoll d9539f82c4 Reduce text differences with the old version (Visual Studio being mean!) 2014-04-15 15:12:23 -04:00
Igor Oleinikov 65fb86a573 lodash: improved _.mapValues definitions 2014-04-04 15:58:27 +04:00
David Driscoll b5fb5ecf07 Fixed up lodash with support for Array<T>, List<T>, Dictionary<T>.
Some test cases are still failing, this seems to due to inference of result types, like for use in the accumulator methods (foldl for example).  Most of these could be resolved by using the correct generic type.  I was trying to avoid this type of fix for the tests.
2014-04-01 21:40:57 -04:00
Santi Albo dca457aa71 Use generic parameter 2014-03-11 10:12:49 +00:00
Santi Albo 00aec5744b Use tabs instead of spaces, like the rest of the file 2014-03-10 18:59:36 +00:00
Santi Albo ff75f784e1 Add method documentation 2014-03-10 18:56:46 +00:00
Santi Albo a8115c9191 Add missing _.mapValues type definition 2014-03-10 18:46:25 +00:00
satoru kimura bb9cf5d3c3 Fix for typescript 0.9.7. 2014-02-26 14:13:17 +09:00
gscshoyru bc8eb1b106 Change resolver type to Function in lodash.d.ts
Change to support functions with arbitrary number of inputs, not just one.
2014-02-21 11:21:32 -05:00
Masahiro Wakame 71e3f62db7 Merge pull request #1662 from davidsidlinger/fix/lodash-wrapper-map-result
Fix up lodash wrapper map
2014-02-07 01:23:45 +09:00
Masahiro Wakame c904a1079e Merge pull request #1640 from gscshoyru/patch-6
Fix #1632 -- fix typing for extend in lodash.d.ts
2014-02-04 18:38:29 -08:00
David Sidlinger 8d7fd62f89 LoDash*Wrapper.map() returns mapped result type 2014-02-04 09:38:31 -06:00
gscshoyru ed7436e785 Add support for non-dictionary objects in isEmpty in lodash.d.ts 2014-01-28 13:52:46 -05:00
gscshoyru 38c5428215 Fix #1632 -- fix typing for extend in lodash.d.ts 2014-01-28 11:48:25 -05:00
Sean Clark Hess 9426f5677a 0.9.5 changes to lodash, rethinkdb, and svgjs 2014-01-23 10:19:31 -07:00
David Driscoll 53a5613482 (feat): Updated function methods to be generic
This allows those method signatures to be passed through, but gain the
benefits of things like throttle, memoize.
2014-01-18 23:35:37 -05:00
David Driscoll af80fa3429 (feat): Updated function methods to be generic
This allows those method signatures to be passed through, but gain the
benefits of things like throttle, memoize.
2014-01-18 23:13:39 -05:00
Masahiro Wakame 5cc63cbebb Disabled failed test (threejs and lodash) 2013-12-24 13:12:56 +09:00
Drew Noakes 2b24f36c76 Added more missing semicolons. 2013-11-20 13:43:20 +00:00
Drew Noakes 28291d17b6 Added missing semicolon. 2013-11-20 13:40:34 +00:00
Basarat Ali Syed 3fcbe933cc Merge pull request #1295 from tmmueller/lodash/chained/map
Add definitions for _(...).map, _(...).collect
2013-11-19 18:26:03 -08:00
Thomas Mueller 004a82e83b Add definitions for _(...).map, _(...).collect 2013-11-19 14:02:24 -06:00
Thomas Mueller cc6a334ee2 fixed _(...).filter/_(...).select defs to allow further chaining 2013-11-19 12:59:23 -06:00
Greg Weber 67e0a6003c remove any types and improve callback inference 2013-11-11 06:57:38 -08:00
Brian Zengel 51541ea511 Fixed --noImplicitAny test compiler issues 2013-11-10 21:42:05 -05:00
Brian Zengel e7ff6e84c6 Add definitions for _(...).groupBy 2013-11-10 19:40:47 -05:00
Brian Zengel 106a8f8ae6 Add defintions for _(...).functions, _(...).methods 2013-11-10 19:32:26 -05:00
Brian Zengel b8c64ce7ba Added definitions for _(...).forOwn, _(...).forOwnRight, fixed _(...).forIn, _(...).forInRight 2013-11-10 19:25:29 -05:00
Brian Zengel 7b56be3bc2 Added _(...).forInRight definitions 2013-11-10 19:17:14 -05:00
Brian Zengel 951fd3692d _(...).forIn definitions 2013-11-10 18:27:20 -05:00
Brian Zengel c24bc7ad5c Merged origin/lodash 2013-11-10 12:41:40 -05:00
Brian Zengel 4cd546fef7 forEachRight bindings and tests 2013-11-06 22:14:38 -05:00
Greg Weber 9dd9da44d5 fix tests and optional argument for reduce functions 2013-10-30 10:38:29 -07:00
Greg Weber 01932853df fix types based on tests 2013-10-30 07:57:42 -07:00
Greg Weber d69c847f25 name module _ rather than LoDash 2013-10-29 18:58:23 -07:00
Greg Weber 7af17a2d8e use generic sub-typing for omit & pick 2013-10-29 18:54:25 -07:00
Greg Weber b016066da2 fix whereValue types
Dictionary<any> was ruining type inference
The new type of <W, T extends W>
is more exact and does not mess up inference
2013-10-29 18:07:56 -07:00
Brian Zengel 43c3e27986 Added back documentation lost during refactor 2013-10-22 20:09:47 -04:00
Brian Zengel 6928dced90 MAJOR!! code refactor to support some awesome chaining logic where only appropriate methods will be available to continue the chain. 2013-10-22 02:40:50 -04:00
Brian Zengel 1680659788 added _(...).flatten defs 2013-10-21 10:39:34 -04:00
Brian Zengel d3327b7ef8 added _(...).filter/_(...).select defs 2013-10-21 10:36:17 -04:00
Brian Zengel bd000082ba added _(...).difference defs 2013-10-21 01:22:02 -04:00
Brian Zengel 005025b58b added _(...).delay defs 2013-10-21 01:15:07 -04:00
Brian Zengel 2d3b4eec2b added _(...).defer defs 2013-10-21 01:11:01 -04:00
Brian Zengel 7b747b7f29 added _(...).defaults defs 2013-10-21 01:02:22 -04:00
Brian Zengel 48b80da5d0 added _(...).debounce def 2013-10-21 00:56:55 -04:00
Brian Zengel ea6d2a70de added _(...).curry def 2013-10-21 00:47:30 -04:00
Brian Zengel 65e0a6a400 added _(...).createCallback def 2013-10-21 00:40:27 -04:00