formula1.js
Version:
Formula 1 Ergast API Wrapper
15 lines (14 loc) • 393 B
TypeScript
import { year } from '../../Types';
import { GrandPrix } from './GrandPrix';
import { Session } from './Session';
export declare class Schedule {
constructor(year: year);
pop(): Promise<Schedule>;
private year;
initialized: boolean;
season: number;
rounds: GrandPrix[];
getAllSessions(): Session[];
findNextSession(): Session;
findLastSession(): Session;
}