UNPKG

galeforce-tmp-sea

Version:

A customizable, promise-based, and command-oriented TypeScript library for the Riot Games API.

22 lines 919 B
import { Constructor, Executable } from './executable'; /** * An interface containing method type signatures for any Action containing a `.teamId()` method. */ export interface TeamIdChainable { teamId?: <K extends TeamIdChainable & Executable>(this: K, teamId: string) => Omit<K, 'teamId'>; } /** * A mixin for the `.teamId()` method. * @template TBase The type of the object inside. Inferred from the `Base` parameter. * @param Base The target class. */ export declare function TakesTeamId<TBase extends Constructor>(Base: TBase): { new (...args: any[]): { /** * Modifies the **teamId** associated with the Action object it is called from. * @param teamId The team ID to update the calling Action object with. */ teamId<K extends TeamIdChainable & Executable>(this: K, teamId: string): Omit<K, "teamId">; }; } & TBase; //# sourceMappingURL=team-id.d.ts.map