mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 05:20:24 +08:00
lodash: Add clone(Deep)WithCustomizer parameters (#15191)
This commit is contained in:
4
lodash/index.d.ts
vendored
4
lodash/index.d.ts
vendored
@@ -11253,7 +11253,7 @@ declare namespace _ {
|
||||
}
|
||||
|
||||
//_.cloneDeepWith
|
||||
type CloneDeepWithCustomizer<TValue, TResult> = (value: TValue) => TResult;
|
||||
type CloneDeepWithCustomizer<TValue, TResult> = (value: TValue, key?: number|string, object?: any, stack?: any) => TResult;
|
||||
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
@@ -11374,7 +11374,7 @@ declare namespace _ {
|
||||
}
|
||||
|
||||
//_.cloneWith
|
||||
type CloneWithCustomizer<TValue, TResult> = (value: TValue) => TResult;
|
||||
type CloneWithCustomizer<TValue, TResult> = (value: TValue, key?: number|string, object?: any, stack?: any) => TResult;
|
||||
|
||||
interface LoDashStatic {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user