Follow

TIL how to tell TypeScript about event parameters for events implemented in a class inheriting from Node.js core EventEmitter: "declare interface MyClass".
stackoverflow.com/a/39145058/6

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!