5 lines
212 B
TypeScript
5 lines
212 B
TypeScript
import type { Presenter } from '../presentation';
|
|
|
|
export interface UseCase<Input, OutputDTO, ViewModel, P extends Presenter<OutputDTO, ViewModel>> {
|
|
execute(input: Input, presenter: P): Promise<void> | void;
|
|
} |