DefinitelyTyped/types/clone-deep/index.d.ts
Pete Gonzalez d380ec4475 Fix incorrect typings for clone-deep (#33990)
* Fix incorrect typings for clone-deep

* Update tsconfig.json to remove the insidious setting that caused the mistake to be overlooked ;-)
2019-03-18 18:35:55 -07:00

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;