-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typing: In @types/node v13, NodeJS.EventEmitter is no longer a class #1151
Comments
Thanks for report. Independently, I recently wrote a PR to remove the EventEmitter from our TypeScript to try in Commander 5.x but was not planning for that in 4.x: #1146 I'm not sure what we'll do for 4.x. That PR for DefinitelyTyped is across a LOT of files so that fix is widely applied and will look into that. |
I think Commander may not not affected by this change, as Command is declared as an interface not a class: commander.js/typings/index.d.ts Line 28 in f31d757
I tried updating to latest |
@shadowspawn |
Old version... Digging... #1081 For future readers, this issue is fixed in Commander v4. |
Source: DefinitelyTyped/DefinitelyTyped#40927
The text was updated successfully, but these errors were encountered: