From 11a6e41628f23e4b45c249e44ab2eb29a35c99ce Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Sun, 25 Aug 2019 23:39:47 +0200 Subject: [PATCH] fixed small errors --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c17b77..4f7be8b 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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