UNPKG

@leoua/coc-api

Version:

Yet another Clash of Clans API, but with TS support

16 lines (15 loc) 488 B
/// <reference path="../../types/types.d.ts" /> interface ILabelsSearchAfterParams { limit?: number; after?: string; } interface ILabelsSearchBeforeParams { limit?: number; before?: string; } export declare type TLabelsSearchParams = ILabelsSearchAfterParams | ILabelsSearchBeforeParams; export default class ClanLabels { static readonly path: string; static get(api: IClashOfClansAPI, params?: TLabelsSearchParams): Promise<ILabel[]>; } export {};