UNPKG

galeforce-tmp-sea

Version:

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

23 lines 729 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TakesActId = void 0; /** * A mixin for the `.actId()` method. * @template TBase The type of the object inside. Inferred from the `Base` parameter. * @param Base The target class. */ function TakesActId(Base) { return class extends Base { /** * Modifies the **actId** associated with the Action object it is called from. * @param actId The act ID to update the calling Action object with. */ actId(actId) { this.payload.actId = actId; this.actId = undefined; return this; } }; } exports.TakesActId = TakesActId; //# sourceMappingURL=act-id.js.map