10 lines
139 B
TypeScript
10 lines
139 B
TypeScript
|
export class Item {
|
||
|
id: string;
|
||
|
data: string;
|
||
|
|
||
|
constructor(id: string, data: string) {
|
||
|
this.id = id;
|
||
|
this.data = data;
|
||
|
}
|
||
|
}
|