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

Sign in to participate in the conversation

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!