From 38c542821532e71ae5fca73b312bd3673fe19b8d Mon Sep 17 00:00:00 2001 From: gscshoyru Date: Tue, 28 Jan 2014 11:48:25 -0500 Subject: [PATCH] Fix #1632 -- fix typing for extend in lodash.d.ts --- lodash/lodash.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lodash/lodash.d.ts b/lodash/lodash.d.ts index 97aeab757a..06b6d8e335 100644 --- a/lodash/lodash.d.ts +++ b/lodash/lodash.d.ts @@ -2823,12 +2823,22 @@ declare module _ { callback?: (objectValue: Value, sourceValue: Value) => Value, thisArg?: any): Result; + /** + * @see _.assign + **/ + extend( + object: T, + s1: S1, + callback?: (objectValue: Value, sourceValue: Value) => Value, + thisArg?: any): Result; + /** * @see _.assign **/ extend( object: T, s1: S1, + s2: S2, callback?: (objectValue: Value, sourceValue: Value) => Value, thisArg?: any): Result; @@ -2839,6 +2849,7 @@ declare module _ { object: T, s1: S1, s2: S2, + s3: S3, callback?: (objectValue: Value, sourceValue: Value) => Value, thisArg?: any): Result;