UNPKG

hex-architect

Version:

A collection of components for creating hexagonal architecture with ports and adapters which allows for clean separation of the application and domain layers from the execution environment.

6 lines (5 loc) 169 B
import { Port } from './port'; import { Result } from './result'; export interface OutPort<T extends Result> extends Port<T, void> { inject(output: T): void; }