tfl-api-wrapper
Version:
A Node JS wrapper for the Transport for London API
26 lines (25 loc) • 490 B
TypeScript
export default interface IAccidentStats {
'$type': string;
id: number;
lat: number;
lon: number;
location: string;
date: string;
severity: string;
borough: string;
casualties: Casualty[];
vehicles: Vehicle[];
}
interface Vehicle {
'$type': string;
type: string;
}
interface Casualty {
'$type': string;
age?: number;
class: string;
severity: string;
mode: string;
ageBand: string;
}
export {};