sindresorhus / pageres

Capture website screenshots
MIT License
9.68k stars 744 forks source link

EventEmitter #399

Closed karosi12 closed 3 years ago

karosi12 commented 4 years ago

EventEmitter should be imported rather than using the required, these cause a lot of issues when transpiling from ts to js.

sindresorhus commented 4 years ago

What issues? Importing eventemitter as a default export is valid.