Skip to content

Commit

Permalink
fix(runtime): onInput event type (#3135)
Browse files Browse the repository at this point in the history
libraries/applications using Stencil, will have the input event
strongly typed to `InputEvent` instead of the general `Event`
type.
  • Loading branch information
sean-perkins authored and rwaskiewicz committed Jan 25, 2023
1 parent 33152e3 commit 38198f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/declarations/stencil-public-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1689,8 +1689,8 @@ export namespace JSXBase {
// Form Events
onChange?: (event: Event) => void;
onChangeCapture?: (event: Event) => void;
onInput?: (event: Event) => void;
onInputCapture?: (event: Event) => void;
onInput?: (event: InputEvent) => void;
onInputCapture?: (event: InputEvent) => void;
onReset?: (event: Event) => void;
onResetCapture?: (event: Event) => void;
onSubmit?: (event: Event) => void;
Expand Down

0 comments on commit 38198f7

Please sign in to comment.