EventEmitterDecorator USAGE import EventEmitter from 'eventemitter-decorator'; @EventEmitterclass Foo {} const foo = new Foo();foo.on('hello', (name) => console.log(`hello, ${name}!!`)); foo.emit('hello', 'world'); // 'hello, world!!'