Skip to content

Commit

Permalink
Fix the Events TypeScript type
Browse files Browse the repository at this point in the history
Fixes #44
  • Loading branch information
sindresorhus committed Sep 26, 2019
1 parent e2a428c commit b132757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -196,7 +196,7 @@ declare namespace Emittery {
Maps event names to their emitted data type.
*/
interface Events {
[eventName: string]: unknown;
[eventName: string]: any;
}

/**
Expand Down

0 comments on commit b132757

Please sign in to comment.