EventEmitter leak error message - include type