Skip to content

Commit

Permalink
Fix types for resultFilter getter/setter
Browse files Browse the repository at this point in the history
  • Loading branch information
KoltesDigital committed Apr 7, 2021
1 parent 85373ef commit 38c6b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emitter.d.ts
Expand Up @@ -12,9 +12,9 @@ declare class EventEmitter {
get maxListeners(): number;
set maxListeners(n: number);
getResultFilter(): TFilter | undefined;
setResultFilter(filter: TFilter): this;
setResultFilter(filter: TFilter | undefined): this;
get resultFilter(): TFilter | undefined;
set resultFilter(filter: TFilter);
set resultFilter(filter: TFilter | undefined);
emit(type: TEventType, ...args: any[]): Promise<any>;
addListener(type: TEventType, listener: TListener): Promise<any>;
prependListener(type: TEventType, listener: TListener): Promise<any>;
Expand Down

0 comments on commit 38c6b97

Please sign in to comment.