UNPKG

ts-lib-extended

Version:
17 lines (16 loc) 383 B
import { EventArgs } from './index.js'; /** * EventArgs that can be used to cancel the execution of an event * * @export * @class CancelEventArgs * @template {unknown[]} [TArgs=unknown[]] * @extends {EventArgs<TArgs>} * @since 1.0.0 */ export class CancelEventArgs extends EventArgs { constructor(...args_) { super(...args_); this.cancel = false; } }