Skip to content

Effector-vue supports only primitive types #975

@neomastertlt

Description

@neomastertlt

export function deepCopy<T>(obj, cache = []): T {

if you call a function and pass an object containing a date as an argument, the function will not work correctly
console.log(deepCopy({ a: new Date() }));
{ a: new Date() } => { a: {} }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions