@leoua/coc-api
Version:
Yet another Clash of Clans API, but with TS support
16 lines (15 loc) • 508 B
TypeScript
/// <reference path="../../types/types.d.ts" />
interface ILocationsSearchAfterParams {
limit?: number;
after?: string;
}
interface ILocationsSearchBeforeParams {
limit?: number;
before?: string;
}
export declare type TLocationsSearchParams = ILocationsSearchAfterParams | ILocationsSearchBeforeParams;
export default class Locations {
static readonly path: string;
static get(api: IClashOfClansAPI, params?: TLocationsSearchParams): Promise<ILocation[]>;
}
export {};