import { BaseEvent } from './BaseEvent' ; export class Event < Args extends unknown [ ] , Scope extends string = string > extends BaseEvent < void , Args , Scope > { /**
     * Synchronously execute listeners with the defined arguments.
     */ emit ( args , scope ? ) { [ ... this . getListeners ( scope ) ] . forEach ( ( listener ) => { listener ( ... args ) ; } ) ; } }