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