Skip to content
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

TypeScript error when using node 14 type definitions #64

Open
jacobq opened this issue Nov 2, 2020 · 0 comments
Open

TypeScript error when using node 14 type definitions #64

jacobq opened this issue Nov 2, 2020 · 0 comments

Comments

@jacobq
Copy link
Contributor

jacobq commented Nov 2, 2020

I currently have to keep my @types/node dev dependency at 12.x in order to avoid the following:

C:/myproject/node_modules/modbus-stream/types/index.d.ts(99,26): error TS2689: Cannot extend an interface 'NodeJS.EventEmitter'. Did you mean 'implements'?
TypeScript: 1 semantic error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant