1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-03-03 15:02:27 +02:00
pigallery2/common/Utils.ts

11 lines
163 B
TypeScript
Raw Normal View History

2016-03-14 11:07:08 +01:00
/// <reference path="../typings/main.d.ts"/>
2016-03-12 22:19:24 +01:00
export class Utils {
static clone<T>(object:T):T {
return JSON.parse(JSON.stringify(object));
}
}