mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Fix incorrect typings for clone-deep * Update tsconfig.json to remove the insidious setting that caused the mistake to be overlooked ;-)
13 lines
357 B
TypeScript
13 lines
357 B
TypeScript
// Type definitions for clone-deep 4.0
|
|
// Project: https://github.com/jonschlinkert/clone-deep
|
|
// Definitions by: Tanfonto <https://github.com/tanfonto>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.7
|
|
|
|
declare function cloneDeep<T>(
|
|
val: T,
|
|
instanceClone?: true | ((val: T) => T)
|
|
): T;
|
|
|
|
export = cloneDeep;
|