Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dont require index signature in event map typing
Without this change, the following error appears when using an interface of event listeners: Type 'MyEventListeners' does not satisfy the constraint 'ValidEventTypes'. Type 'MyEventListeners' is not assignable to type '{ [x: string]: any[] | ((...args: any[]) => void); }'. Index signature is missing in type 'NodeRunnerEventListeners<Output>
- Loading branch information