1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-04-02 22:15:33 +02:00
pigallery2/common/Utils.ts
2016-03-12 22:19:24 +01:00

11 lines
162 B
TypeScript

/// <reference path="../typings/tsd.d.ts"/>
export class Utils {
static clone<T>(object:T):T {
return JSON.parse(JSON.stringify(object));
}
}