Skip to content

Commit

Permalink
Update nest-emitter.module.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
idhard authored Nov 5, 2019
1 parent 7bfb516 commit ddeb9a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nest-emitter.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Module, DynamicModule, Global, Provider } from '@nestjs/common';
import { EVENT_EMITTER_TOKEN } from './constants';
type NestEmitter = NodeJS.Events;
import { EventEmitter } from 'events';
interface NestEmitter extends EventEmitter {}
@Global()
@Module({})
export class NestEmitterModule {
Expand Down

0 comments on commit ddeb9a9

Please sign in to comment.