: error TS2420: Class 'Terminal' incorrectly implements interface 'Stream'.
Types of property 'addListener' are incompatible.
Type '(event: string, listener: Function) => EventEmitter' is not assignable to type '(event: string, listener: Function) => EventEmitter'.
Type 'EventEmitter' is not assignable to type 'EventEmitter'.
Does anyone knows what is going wrong here ? I try to add my tests to the definitely typed and this is the only error I get