mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 13:27:15 +08:00
* 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.