mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 08:36:26 +00:00
5d624ed484
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
5 lines
142 B
TypeScript
5 lines
142 B
TypeScript
import safeStringify from 'fast-safe-stringify';
|
|
|
|
export function clone<T>(input: T = null): T {
|
|
return JSON.parse(safeStringify(input));
|
|
}
|