Skip to content

Commit

Permalink
Add default export to type definitions. fixes #281 (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelcobain committed Jun 30, 2022
1 parent 265c69f commit b1fe331
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eventemitter2.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,5 @@ export declare class EventEmitter2 {
static once(emitter: EventEmitter2, event: event | eventNS, options?: OnceOptions): CancelablePromise<any[]>;
static defaultMaxListeners: number;
}

export default EventEmitter2;

0 comments on commit b1fe331

Please sign in to comment.