How can I copy an object in TypeScript?
I need an util function which returns a copy (decoupled) of the passed object and the return object has to have the same type.
Is there any generic solution for that?
Thx in advance! βοΈ
1481 views
π
1
π
1