Skip to content

Commit

Permalink
fix(event-emitter): resolve eventemitter2 import error in ESM (#2667)
Browse files Browse the repository at this point in the history
  • Loading branch information
vangie authored Apr 20, 2024
1 parent 4ee2078 commit a43b16f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {Configuration, registerProvider} from "@tsed/di";
import {ConstructorOptions, EventEmitter2} from "eventemitter2";
import type {ConstructorOptions} from "eventemitter2";
import EventEmitter2 from "eventemitter2";

export const EventEmitterService = EventEmitter2;
export type EventEmitterService = EventEmitter2;
Expand Down

0 comments on commit a43b16f

Please sign in to comment.