tfl-ts
Version:
🚇 Fully-typed TypeScript client for Transport for London (TfL) API • Zero dependencies • Auto-generated types • Real-time arrivals • Journey planning • Universal compatibility
21 lines (20 loc) • 841 B
TypeScript
export declare const ACCIDENTSTATS_DATA: {
readonly section: "AccidentStats";
readonly endpoints: readonly [{
readonly path: "/AccidentStats/{year}";
readonly method: "GET";
readonly summary: "Gets all accident details for accidents occuring in the specified year";
readonly parameters: readonly [{
readonly name: "year";
readonly type: "number";
readonly required: true;
readonly description: "The year for which to filter the accidents on.";
}];
readonly returnType: "AccidentDetail[]";
readonly deprecated: false;
readonly tags: readonly ["AccidentStats"];
}];
readonly totalEndpoints: 1;
readonly generatedAt: "2025-07-10T01:28:59.104Z";
};
export type ACCIDENTSTATS_DATAType = typeof ACCIDENTSTATS_DATA;