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:
Sean Kelley
2016-04-23 16:17:43 +09:00
committed by Masahiro Wakame
parent 7c32a54894
commit fc4a666145
2 changed files with 363 additions and 1076 deletions
+33 -421
View File
File diff suppressed because it is too large Load Diff
+330 -655
View File
File diff suppressed because it is too large Load Diff