fix issues in core
This commit is contained in:
@@ -7,4 +7,7 @@ export interface DomainEvent<T = unknown> {
|
||||
|
||||
export interface DomainEventPublisher {
|
||||
publish(event: DomainEvent): Promise<void>;
|
||||
}
|
||||
}
|
||||
|
||||
// Alias for backward compatibility
|
||||
export interface IDomainEvent<T = unknown> extends DomainEvent<T> {}
|
||||
@@ -1,4 +1,5 @@
|
||||
export * from './Entity';
|
||||
export * from './ValueObject';
|
||||
export * from './Service';
|
||||
export * from './Option';
|
||||
export * from './Option';
|
||||
export * from './DomainEvent';
|
||||
Reference in New Issue
Block a user