blob: db8929e38bc7362e04dff0bce0a3a1d05c7fa94f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
interface ProjectResponseInterface {
id: string,
name: string
}
export class Project {
id: string;
name: string;
constructor(projectResponse: ProjectResponseInterface){
this.id = projectResponse.id;
this.name = projectResponse.name;
}
}
|