mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
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.
This commit is contained in:
committed by
Masahiro Wakame
parent
7c32a54894
commit
fc4a666145