Merge pull request #17582 from DefinitelyTyped/fix-underscore-tests-for-2.4

Fix underscore tests for TS 2.4
This commit is contained in:
Nathan Shively-Sanders
2017-06-28 10:05:12 -07:00
committed by GitHub
+1 -1
View File
@@ -156,7 +156,7 @@ _.where(listOfPlays, { author: "Shakespeare", year: 1611 });
var odds = _.reject([1, 2, 3, 4, 5, 6], (num) => num % 2 == 0);
_.every([true, 1, null, 'yes'], _.identity);
_.every([true, 1, null, 'yes'], x => !!_.identity(x));
_.any([null, 0, 'yes', false]);