I have a big object that create charts, containing function, object array etc inside.
I would like to deep copy that object in some situation.
I went online to find a library for deep cloning, and I found only 2
https://www.npmjs.com/package/clone-deep which is a node library and I can't import correctly in my project because it triggers
an only be default-imported using the 'allowSyntheticDefaultImports' flag which I can't change
or lodash.
But it sound very overkill to install a dependency for lodash, and only use the lodash/cloneDeep.
Isn't there something else that would work ? or how to solve the import problem without changing the tsconfig flag.