Files
DefinitelyTyped/lodash
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
..