Add input handling

This commit is contained in:
schmelczerandras 2020-07-18 22:02:09 +02:00
parent 29c6b14440
commit d5be727040
36 changed files with 417 additions and 113 deletions

View file

@ -0,0 +1,9 @@
export class Typed {
public get type(): string {
return this.constructor.name;
}
public toJSON() {
return { type: this.type, ...this };
}
}