UNPKG

@golemio/pid

Version:
8 lines (7 loc) 306 B
import { IPublicApiGtfsTrip } from "./PublicApiGtfsTripLookupInterfaces"; export interface ITripScopeHandler<T extends IPublicApiGtfsTrip, K> { handle(output: T, entity: K): T; } export interface ITripScopeAsyncHandler<T extends IPublicApiGtfsTrip, K> { handle(output: T, entity: K): Promise<T>; }