Skip to content

Commit

Permalink
fix: Added missing interface definition
Browse files Browse the repository at this point in the history
Current version of the nest-emitter library is incompatible with Node 12
typings, this adds a required interface manually as hotfix. A new
version of the lib will hopefully be released soon.
  • Loading branch information
mKeRix committed Jan 19, 2020
1 parent 05c0fa3 commit 989b765
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions typings/node/index.d.ts
@@ -0,0 +1,4 @@
declare namespace NodeJS {
// drop-in hotfix for nest-emitter on Node 12, awaiting new version
export interface Events extends EventEmitter {}
}

0 comments on commit 989b765

Please sign in to comment.