UNPKG

ts-lib-extended

Version:
25 lines (24 loc) 414 B
/** * Arguments passed to an event subscription callback * * @export * @class EventArgs * @template {unknown[]} [TArgs=unknown[]] * @since 1.0.0 */ export class EventArgs { constructor(...args_) { this._args = args_; } /** * passed arguments * * @public * @readonly * @type {TArgs} * @since 4.0.0 */ get args() { return this._args; } }