uefa-api
Version:
Typescript bindings and utils for the UEFA APIs
9 lines (8 loc) • 445 B
TypeScript
import type { Competition } from '../api';
/**
* Returns a list of UEFA competitions, optional matching the provided competition ids
*
* @param filterByIds A single competition id, an array of competition ids or undefined to return all competitions
* @returns A promise that resolves to a list of competitions
*/
export declare const getCompetitions: (filterByIds?: number | string | (string | number)[]) => Promise<Competition[]>;