From 0af0c866e0164bcc033c2d3d3643168208911ba0 Mon Sep 17 00:00:00 2001 From: Cody Estes Date: Fri, 11 Nov 2016 11:51:18 -0600 Subject: [PATCH] Update castArray definition. I made an identical pull request here https://github.com/types/npm-lodash/pull/18 (to see existing discussion), but never thought to make sure it was in both places until I started using the definitions at DT again. --- lodash/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash/index.d.ts b/lodash/index.d.ts index e1074a4c97..f8b14bb3af 100644 --- a/lodash/index.d.ts +++ b/lodash/index.d.ts @@ -10986,7 +10986,7 @@ declare module _ { * @param value The value to inspect. * @return Returns the cast array. */ - castArray(value: T): T[]; + castArray(value?: T | T[]): T[]; } interface LoDashImplicitWrapper {