aboutsummaryrefslogtreecommitdiff
path: root/mitt.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'mitt.d.ts')
-rw-r--r--mitt.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitt.d.ts b/mitt.d.ts
index 0555a0d..4a54163 100644
--- a/mitt.d.ts
+++ b/mitt.d.ts
@@ -6,7 +6,7 @@ declare module "mitt" {
declare namespace mitt {
type Handler = (event?: any) => void;
- type WildcardHandler = (type?: string, event?: any) => void;
+ type WildcardHandler = (type: string, event?: any) => void;
interface MittStatic {
(all?: {[key: string]: Array<Handler>}): Emitter;