Open LukaszUrb opened 2 years ago
Hello.
Path: src\shared\domain\events\IHandle.ts
Why do you pass type IDomainEvent in this file and don't use it at all?
IDomainEvent
import { IDomainEvent } from "./IDomainEvent"; export interface IHandle<IDomainEvent> { setupSubscriptions(): void; }
Maybe instead of
export interface IHandle<IDomainEvent> {
it should be:
export interface IHandle extends IDomainEvent
Hello.
Path: src\shared\domain\events\IHandle.ts
Why do you pass type
IDomainEvent
in this file and don't use it at all?Maybe instead of
export interface IHandle<IDomainEvent> {
it should be:
export interface IHandle extends IDomainEvent