Skip to content

TypeScript error when using node 14 type definitions #64

Description

@jacobq

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions