David Morgantini
9861ba85fd
fix mistake in constant
...
* constant returns a function rather than a type
2014-12-09 22:24:39 +00:00
David Morgantini
fe4a5c024a
add constant to lodash
2014-11-23 22:25:55 +00:00
Andrew Cholakian
46120dcb68
Support _.property in lodash.d.ts
2014-11-19 17:31:54 -06:00
vvakame
f4630ffae9
suppress error lodash/lodash-tests.ts
2014-11-13 15:08:41 +09:00
motemen
2507e73a5f
_(...).find
2014-10-18 18:08:20 +09:00
motemen
824029abf4
_(...).max, min
2014-10-18 18:08:20 +09:00
motemen
3653640a60
_(...).zip and aliases
2014-10-18 18:08:05 +09:00
motemen
a59dd92bf7
_(...).findLast
2014-10-18 18:07:43 +09:00
vvakame
4c496a911e
fix lodash/lodash-tests.ts
2014-10-07 15:10:23 +09:00
Sergey Zarouski
8c5eb7a46f
add _.create to LoDashStatic
...
Something is better then nothing, adding _.create method
2014-08-17 22:08:46 -04:00
Sergey Zarouski
ae63871fe9
Add _.noop to lodash
...
Add static _.noop function to lodash.
2014-07-02 23:10:14 -04:00
Anthony Chu
60ae16ab8e
Add _.xor to Lodash #2377
2014-06-23 16:50:09 +00:00
Brian Zengel
6f61e6419b
Add definitions for _.groupBy and _(...).groupBy when passed an object.
2014-06-16 14:40:03 -04:00
Brian Zengel
a2d2e1b26d
Add chainable definitions for _(...).toArray.
2014-06-16 14:36:09 -04:00
Masahiro Wakame
a1ea25041a
Merge pull request #2282 from bczengel/lodash
...
Lodash - Added chainable definitions for a handful of methods
2014-06-05 11:40:47 +09:00
Kenneth Kolstad
95e42c4916
Test for _.some with a non-dictionary/list argument
2014-06-03 10:26:07 -07:00
Brian Zengel
79e22825d5
Add chainable definitions for _(...).forEach and aliases when passing an non-dictionary object.
2014-06-03 13:24:46 -04:00
Brian Zengel
1def2150e2
Add chainable definitions for _(...).keys
2014-06-03 13:23:28 -04:00
Kenneth Kolstad
b740252f30
Define some and any for an object
2014-06-03 09:57:57 -07:00
Brian Zengel
5968a6823b
Added chainable definitions for _(...).first and aliases
2014-06-02 22:40:45 -04:00
Brian Zengel
f100b9e970
Added chainable definitions for _(...).where
2014-06-02 22:18:12 -04:00
Brian Zengel
b599ab50cc
Added chainable definitions for _(...).sortBy
2014-06-02 22:06:58 -04:00
Brian Zengel
be19adcd82
Added chainable definitions for _(...).reject
2014-06-02 22:06:14 -04:00
Brian Zengel
0fad808e8d
Added TResult generic to chainable _(...).pluck methods
...
This is needed because there is no way to cast the output in the middle of the chain.
This is not be done on _.pluck() methods because T cannot be inferred. In other words, this:
<number>_.pluck(objectArray, 'id');
or this:
var id: number = _.pluck(objectArray, 'id');
is cleaner than this:
_.pluck<IMyObjectInterface, number>(objectArray, 'id');
2014-06-02 16:41:45 -04:00
Brian Zengel
063c99482a
Added chainable definition for _(...).uniq and aliases
2014-06-02 15:45:56 -04:00
Brian Zengel
4a64d7cdf0
Added chainable definitions for _(...).pluck
2014-06-02 10:19:05 -04:00
Brian Zengel
6e70ecce98
Added chainable definition for _(...).reduce and aliases.
2014-06-02 10:08:26 -04:00
Brian Zengel
d5754766b6
Add chainable definitions for _(...).pairs
2014-06-01 21:16:30 -04:00
Brian Zengel
fee014e7b6
Fix issue with omit chainable definition not returning LoDashObjectWrapper
2014-05-31 00:36:32 -04:00
Brian Zengel
879e47cbe2
Add lodash omit chainable defs
2014-05-31 00:27:00 -04:00
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