File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ yarn add nest-emitter
32
32
33
33
As Normal Import ` NestEmitterModule ` into your root module _ (aka ` AppModule ` )_
34
34
35
- The ` NestEmitterModule#forRoot(emitter: NodeJS.Events) ` takes any event emitter that that implements ` NodeJS.Events ` .
35
+ The ` NestEmitterModule#forRoot(emitter: NodeJS.Events) ` takes any event emitter that implements ` NodeJS.Events ` .
36
36
37
37
For simplicity I will use nodejs built-in eventemitter, but of course you can use whatever you need.
38
38
@@ -85,7 +85,7 @@ good good, now let's use it.
85
85
86
86
> :+1 : TIP: Keep all of your events in a separate file like ` {prefix}.events.ts ` .
87
87
88
- I will use it to send a notificaion when we receive a request
88
+ I will use it to send a notification when we receive a request
89
89
90
90
``` ts
91
91
// app.controller.ts
You can’t perform that action at this time.
0 commit comments