mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Fix #1632 -- fix typing for extend in lodash.d.ts
This commit is contained in:
Vendored
+11
@@ -2823,12 +2823,22 @@ declare module _ {
|
||||
callback?: (objectValue: Value, sourceValue: Value) => Value,
|
||||
thisArg?: any): Result;
|
||||
|
||||
/**
|
||||
* @see _.assign
|
||||
**/
|
||||
extend<P, T extends P, S1 extends P, Value, Result extends P>(
|
||||
object: T,
|
||||
s1: S1,
|
||||
callback?: (objectValue: Value, sourceValue: Value) => Value,
|
||||
thisArg?: any): Result;
|
||||
|
||||
/**
|
||||
* @see _.assign
|
||||
**/
|
||||
extend<P, T extends P, S1 extends P, S2 extends P, Value, Result extends P>(
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user