Skip to content

Commit

Permalink
Add node/types to fix compile time error
Browse files Browse the repository at this point in the history
Kept encountering this error when compiling:

node_modules/commander/typings/index.d.ts:26:25 - error TS2689: Cannot
extend an interface 'NodeJS.EventEmitter'. Did you mean 'implements'?

Had the add node/types specifically for version 12

tj/commander.js#787
DefinitelyTyped/DefinitelyTyped@c47a34e#r36559684
  • Loading branch information
SmileyJames committed May 29, 2020
1 parent d23b669 commit f8f0c76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"@types/inquirer": "0.0.35",
"@types/jest": "^23.3.9",
"@types/mock-fs": "^3.6.30",
"@types/node": "12.12.21",
"@types/open": "^6.1.0",
"@types/ora": "^1.3.1",
"@types/semver": "^5.4.0",
Expand Down

0 comments on commit f8f0c76

Please sign in to comment.