Skip to content

copyObject

copyObject<T>(obj): T

Doesn’t preserver functions and other non-serializable values

Type parameters

T

Parameters

obj: T

Returns

T

Source

src/utils.ts:102