UNPKG

@n3okill/utils

Version:
9 lines (8 loc) 327 B
import { TransformFunctionType } from "../_internal"; /** * Clone any argument type * @param arg The argument to clone * @param deep If true will deep clone values in multiple argument types * @returns New cloned object */ export declare function clone<T>(source: T, deep?: boolean, transform?: TransformFunctionType): T;