@polgubau/utils
Version:
A collection of utility functions for TypeScript
10 lines (8 loc) • 306 B
text/typescript
/**
* Deep clone an object
* A deep clone is a clone of the source object and all of its children, and their children, and so on.
* @param source <T> - The source object to clone
* @returns <T> - A deep clone of the source object
*/
declare function cloneDeep<T>(source: T): T;
export { cloneDeep };