Skip to content

Commit

Permalink
reverts: "fix(typescript): infer TTransformed from `createEventHand…
Browse files Browse the repository at this point in the history
…ler()` options (#459)"

This reverts commit d2a0b73.
  • Loading branch information
oscard0m committed Mar 14, 2021
1 parent 1795748 commit 9e002f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event-handler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ interface EventHandler<TTransformed> {
}

export function createEventHandler<TTransformed>(
options?: Options<TTransformed>
options: Options<any, TTransformed>
): EventHandler<TTransformed> {
const state: State = {
hooks: {},
Expand Down

0 comments on commit 9e002f8

Please sign in to comment.