stream icon indicating copy to clipboard operation
stream copied to clipboard

TypeScript error when using node 14 type definitions

Open jacobq opened this issue 6 years ago • 0 comments

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

jacobq avatar Nov 02 '20 14:11 jacobq