Commit Graph

1054 Commits

Author SHA1 Message Date
Paul van Brenk
5607f54def Merge master into typings-2.0
* Changed Files
2016-08-18 14:53:30 -07:00
Luke Street
896f317298 lodash: Added flush method to debounced & throttled functions 2016-08-17 11:56:21 -04:00
Paul van Brenk
8ba335294f Merge pull request #10448 from DefinitelyTyped/bad_doc_comment
Fix some comments that look like JSDoc comments (begin with `/**`) but are not
2016-08-15 16:48:58 -07:00
Nathan Shively-Sanders
9b7a29a8b5 Make test subclass structurally different from superclass 2016-08-10 10:07:13 -07:00
Mine Yalcinalp Starks
8252b2118a Merge remote-tracking branch 'upstream/master' into minestarks-types2.0 2016-08-03 15:19:03 -07:00
Andy Hanson
ba706fe7fc Fix some comments that look like JSDoc comments (begin with /**) but are not. 2016-08-03 11:11:25 -07:00
Isman Usoh
25b78b03bc add lodash version (#10308)
* add lodash version

* Update lodash-3.10.d.ts
2016-08-03 00:07:49 +09:00
Ryan Cavanaugh
ca19fab9cf Merge remote-tracking branch 'upstream/types-2.0' into merge_7_25 2016-07-27 16:13:04 -07:00
Ryan Cavanaugh
b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -07:00
Ryan Cavanaugh
c73630c9a3 Merge commit 'upstream/master~400' into merge_7_25
# Conflicts:
#	angular-translate/angular-translate.d.ts
#	knex/knex.d.ts
#	redux-logger/index.d.ts
#	simplestorage.js/index.d.ts
#	underscore/underscore.d.ts
#	yargs/yargs.d.ts
2016-07-26 13:53:00 -07:00
Ryan Cavanaugh
11d624e656 Merge commit 'upstream/master~500' into merge_7_25 2016-07-26 12:17:32 -07:00
Ryan Cavanaugh
e4421f5ebe Merge commit 'upstream/master~650' into merge_7_25 2016-07-25 23:49:05 -07:00
Ryan Cavanaugh
347311a5f0 Partial merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-25 14:26:20 -07:00
Valentin Robert
f73e4844a0 Lodash: find* methods may return undefined 2016-07-25 10:35:38 -07:00
Tim Perry
83f954972e Fix signature for _.sum/sumBy when summing properties from object arrays in Lodash (#10101)
* Fix lodash _.sumBy signature

Main fix here is to ensure that summing plucked keys from objects
is allowed.

* Fix lodash 3.10 _.sumBy signature to allow summing plucked keys too
2016-07-19 17:13:09 -07:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Ryan Casperson
ead4d214f7 lodash: Add flattenDepth() for LoDashStatic (#10013)
* lodash: Add flattenDepth() for LoDashStatic

* lodash(flattenDepth): Add optional tag to depth & declare module
2016-07-09 15:28:53 +09:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Viktor Zozuliak
49164be32a lodash-3.10: Add _.reduce for LoDashExplicitObjectWrapper (#9128) 2016-06-19 12:36:23 +09:00
Viktor Zozuliak
68187beb94 lodash: Add _.reduce for LoDashExplicitObjectWrapper (#9129) 2016-06-19 12:36:07 +09:00
Sean Kelley
1a0e25dcdd Generically-typed overload for _.fromPairs that allows better inferences in some situations. (#9572) 2016-06-14 00:22:03 +09:00
Sean Kelley
92046fb39a Add more-specific overloads to _.values to gete better type-checking in some scenarios. (#9556) 2016-06-14 00:21:55 +09:00
Artur Eshenbrener
3b32b57713 [RFC] Lodash flow better arguments (#9492)
* Add a lot of generic variants of _.flow

* lodash: write test for `_.flow` overloads
2016-06-08 19:16:02 +09:00
Sean Kelley
d456e7ccb0 Inferrable _.assign*, _.extend*, _.defaults (#9388)
* Change the signatures of the _.assign* functions to use intersection types, following 4e4ffc7e.

* Redefine _.extend and _.extendWith from scratch by copy-paste-renaming _.assignIn and _.assignInWith (respectively).

* Uncomment lodash/extendWith module since it exists now.

* Redefine _.defaults using 6ff5a95d0 as a template.

* Flip the order of _.defaults intersected types so earlier arguments take precedence when a field is mentioned multiple times.

Also fix an extraneous type parameter on an _.assign overload.

* Rewrite most of the tests to remove the TResult parameter where appropriate. Add extendWith tests separate from extend tests.

* Fix bug with _.defaults where the explicit wrapper variant would return an implicit wrapper.

* Update lodash tests to remove a bunch of now-unnecessary type specification.
2016-05-24 22:56:08 +09:00
Ryan Cavanaugh
612c172c52 Use correct test list 2016-05-10 12:28:03 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
5859f63fd3 Keep fixing... 2016-05-05 12:38:52 -07:00
Ryan Cavanaugh
290d5dfb4d More fixes 2016-05-04 18:42:46 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Stepan Mikhaylyuk
672afd8f7b added definitions for named expored lodash functions (#9052)
* added definitions for named expored function

* minor fix

* fix for lodash/fp
2016-05-01 22:07:39 +09:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Sean Kelley
fc4a666145 Lodash: Remove thisArg from everything except _.bind. (#8781)
* Remove thisArg from everything except _.bind.

* Fix most of the tests: in most cases, deletethe thisArg version, in a few, just delete the thisArg parameter and leave the rest.

* Fix last _.reduce test.

This one was probably actually wrong: `{}` was failing to match `TResult` so it
was instead matching the `any` from the `thisArgs` signature and compiling, even
though that was not the intent of the test. Casting the accumulator to `ABC` selects
the correct overload.
2016-04-23 16:17:43 +09:00
Sean Kelley
7c32a54894 Lodash: update mapvalues, frompairs, pickby (#8783)
* Make the predicate parameter to _.pickBy optional.

* Add explicit typings for _.mapValues.

* Repair dummy typings for _.fromPairs to be more correct and add implicit/explicit versions.

* Remove non-existent 2-iteratee versions of _.mapValues.

* Preemtively remove thisArg from ONLY the added _.mapValues so the merge with #8781 goes well.
2016-04-23 16:09:20 +09:00
Masahiro Wakame
e12c8e3bcd Merge pull request #8757 from chrootsu/lodash-memoize
lodash: changed _.memoize
2016-03-31 00:47:26 +09:00
Masahiro Wakame
4052af9156 Merge pull request #8755 from chrootsu/lodash-sample
lodash: changed _.sample
2016-03-31 00:25:23 +09:00
Ilya Mochalov
bd2fc2e672 lodash: changed _.memoize 2016-03-29 05:34:44 +05:00
Ilya Mochalov
28900a5be9 lodash: changed _.sample 2016-03-29 01:41:28 +05:00
Ilya Mochalov
e49f2982f0 lodash: changed _.noConflict 2016-03-28 23:49:06 +05:00
Masahiro Wakame
299b5caa22 Merge pull request #8731 from chrootsu/lodash-result
lodash: changed _.result
2016-03-27 09:49:37 +09:00
Masahiro Wakame
8ff687952b Merge pull request #8730 from chrootsu/lodash-get
lodash: changed _.get
2016-03-27 09:49:28 +09:00
Ilya Mochalov
94c04275d2 lodash: changed _.get 2016-03-27 01:58:24 +05:00
Ilya Mochalov
7c924f2efe lodash: changed _.result 2016-03-27 01:50:58 +05:00
Ilya Mochalov
3e85fd1365 lodash: changed _.identity 2016-03-27 00:11:09 +05:00
Masahiro Wakame
11218736a8 Merge pull request #8717 from chrootsu/lodash-flatMap
lodash: changed _.flatMap
2016-03-27 01:24:58 +09:00
Masahiro Wakame
61c2015a74 Merge pull request #8672 from benblank/lodash-invoke
add _.invoke to existing lodash definition
2016-03-26 22:32:43 +09:00