gtfs-stream
Version:
Streaming GTFS and GTFS-RT parser for node
17 lines (16 loc) • 467 B
TypeScript
/**
* Mapping from GTFS numeric location types to human-readable string values
*/
declare const locationTypes: {
'0': string;
'1': string;
'2': string;
'3': string;
'4': string;
};
/**
* Define the type for the human-readable location types
* This creates a union type of all the string values in the locationTypes object
*/
export type EnhancedLocationType = (typeof locationTypes)[keyof typeof locationTypes];
export default locationTypes;