6 lines
105 B
TypeScript
6 lines
105 B
TypeScript
interface DomainEvent<T> {
|
|
readonly type: string;
|
|
readonly createdAt: Date;
|
|
readonly payload: T;
|
|
}
|