From 1c2e51ca7c5e0782ac0da78dec98a11e1d8c78bd Mon Sep 17 00:00:00 2001 From: Jacob Gardner Date: Tue, 19 Feb 2019 11:24:38 -0600 Subject: [PATCH] Using boolean instead since TS wants to use the literal value for string --- types/lodash/lodash-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/lodash/lodash-tests.ts b/types/lodash/lodash-tests.ts index 5bac79044c..95f0bcff0e 100644 --- a/types/lodash/lodash-tests.ts +++ b/types/lodash/lodash-tests.ts @@ -5152,7 +5152,7 @@ fp.now(); // $ExpectType number _.get({ a: { b: true } }, ["a"]); // $ExpectType { b: boolean; } _.get({ a: { b: true } }, ["a", "b"]); // $ExpectType any _.get({ a: undefined }, 'a'); // $ExpectType undefined - _.get({ a: undefined }, 'a', 'default'); // $ExpectType 'default' + _.get({ a: undefined }, 'a', false); // $ExpectType boolean _("abc").get(1); // $ExpectType string _("abc").get(["0"], "_");