UNPKG

@golemio/pid

Version:
11 lines (10 loc) 450 B
import { ITransferDeparture } from "../.."; export declare class PlatformCodeResolver { /** * Platform code is determined by the following rules: * - for trains, the last stop platform code is used (CIS) if available * - otherwise, the departure platform code is used (GTFS) * - for other route types, the departure platform code is used (GTFS) */ static resolve(departure: ITransferDeparture): string | null; }