Simplify types

This commit is contained in:
schmelczerandras 2020-10-06 14:08:43 +02:00
commit ba8b1a29fd

View file

@ -1,7 +1,3 @@
import { Id } from '../transport/identity';
import { Typed } from '../transport/typed';
export abstract class Command {
public get type(): string {
return (this as any).constructor.type;
}
}
export abstract class Command extends Typed { }