diff --git a/src/event-bus.ts b/src/event-bus.ts index e78d75f..d2bb73c 100644 --- a/src/event-bus.ts +++ b/src/event-bus.ts @@ -10,6 +10,8 @@ export interface IEventBus { dispatch: IDispatch } -import * as EventBusAny from "eventbusjs" -const EventBus: IEventBus = EventBusAny +import * as EventBus from "eventbusjs" +declare module "eventbusjs" { + interface EventBus extends IEventBus {} +} export { EventBus }