data-element.ts 372 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
 * Tasks:
 * 
 * *Move DataElement<T> to its ts file. It would be really nice to put this in the data structures project since it shadows a class there.
 * *Add a unit test?
 */

export class DataElement<T> {
    name: string;
    description: string;
    data!: T;

    constructor() {
        this.name = 'name';
        this.description = 'description';
    }    
}