UNPKG

actionhero

Version:

The reusable, scalable, and quick node.js API server for stateless and stateful applications

4 lines (3 loc) 87 B
export function deepCopy<T>(obj: T) { return JSON.parse(JSON.stringify(obj)) as T; }