Skip to content

Commit

Permalink
fixed small errors
Browse files Browse the repository at this point in the history
  • Loading branch information
0xflotus authored Aug 25, 2019
1 parent d6047eb commit 11a6e41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ yarn add nest-emitter

As Normal Import `NestEmitterModule` into your root module _(aka `AppModule`)_

The `NestEmitterModule#forRoot(emitter: NodeJS.Events)` takes any event emitter that that implements `NodeJS.Events`.
The `NestEmitterModule#forRoot(emitter: NodeJS.Events)` takes any event emitter that implements `NodeJS.Events`.

For simplicity I will use nodejs built-in eventemitter, but of course you can use whatever you need.

Expand Down Expand Up @@ -85,7 +85,7 @@ good good, now let's use it.

> :+1: TIP: Keep all of your events in a separate file like `{prefix}.events.ts`.
I will use it to send a notificaion when we receive a request
I will use it to send a notification when we receive a request

```ts
// app.controller.ts
Expand Down

0 comments on commit 11a6e41

Please sign in to comment.