Skip to content

Commit

Permalink
refactor(eventhandler): replace to interface (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts authored Jul 30, 2020
1 parent e21c817 commit 00e3267
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/html/eventhandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@

import Event from '../dom/event';

type EventHandler = (event: Event) => void;

export default EventHandler;
export default interface EventHandler {
(event: Event): void;
}

0 comments on commit 00e3267

Please sign in to comment.