Skip to content

Commit

Permalink
Merge pull request #13 from idhard/master
Browse files Browse the repository at this point in the history
Fix issue #12
  • Loading branch information
Shady Khalifa authored Nov 6, 2019
2 parents 7bfb516 + ddeb9a9 commit 516bfd1
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 516bfd1

Please sign in to comment.