export interface IterationsHistory {
createDate: number;
iterationId: string;
}
let foo = lib.deserialize({hello: '123', createDate: 124})
foo = {
createDate: 123,
iterationId: ''
}
class User {
id: number;
name: string;
constructor(userId: number, userName: string) {
this.id = userId;
this.name = userName;
}
}
let tom: User = new User(1, "Tom");