galeforce-tmp-sea
Version:
A customizable, promise-based, and command-oriented TypeScript library for the Riot Games API.
22 lines • 988 B
TypeScript
import { Constructor, Executable } from './executable';
/**
* An interface containing method type signatures for any Action containing a `.lorRegion()` method.
*/
export interface LorRegionChainable {
lorRegion?: <K extends LorRegionChainable & Executable>(this: K, lorRegion: string) => Omit<K, 'lorRegion'>;
}
/**
* A mixin for the `.lorRegion()` method.
* @template TBase The type of the object inside. Defaults to `typeof Action`.
* @param Base The target class.
*/
export declare function TakesLorRegion<TBase extends Constructor>(Base: TBase): {
new (...args: any[]): {
/**
* Modifies the Legends of Runeterra in-game **lorRegion** associated with the Action object it is called from.
* @param lorRegion The lorRegion to update the calling Action object with.
*/
lorRegion<K extends LorRegionChainable & Executable>(this: K, lorRegion: string): Omit<K, "lorRegion">;
};
} & TBase;
//# sourceMappingURL=lor-region.d.ts.map