Skip to content

Commit

Permalink
fix: return event after set detail
Browse files Browse the repository at this point in the history
  • Loading branch information
cncolder committed Jul 1, 2020
1 parent 10d8392 commit 83d09ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export function setEventDetail<E>(e: E, detail: any) {
return Object.create(e as any, { detail: { value: detail } })
} else {
e['detail'] = detail
return e
}
}

Expand Down

0 comments on commit 83d09ae

Please sign in to comment.