Files
echecsfrance/types.ts
T

22 lines
398 B
TypeScript

import { LatLngLiteral } from "leaflet";
export enum TimeControl {
Classic = "Classic",
Rapid = "Rapid",
Blitz = "Blitz",
Other = "Other",
};
export interface Tournament {
_id: string;
town: string;
department: string;
tournament: string;
url: string;
timeControl: TimeControl;
date: string;
latLng: LatLngLiteral;
}
export type ScrollableElement = Window | HTMLElement;