Skip to content

Commit

Permalink
Merge branch 'main' into billti/fix-is-access
Browse files Browse the repository at this point in the history
  • Loading branch information
billti authored Nov 27, 2023
2 parents 1870b9e + 3eb790c commit 02ad4e2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1453,6 +1453,10 @@ export namespace JSXInternal {
Target,
PointerEvent
>;
export type TargetedSubmitEvent<Target extends EventTarget> = TargetedEvent<
Target,
SubmitEvent
>;
export type TargetedTouchEvent<Target extends EventTarget> = TargetedEvent<
Target,
TouchEvent
Expand Down Expand Up @@ -1565,8 +1569,8 @@ export namespace JSXInternal {
onBeforeInputCapture?: GenericEventHandler<Target> | undefined;
onSearch?: GenericEventHandler<Target> | undefined;
onSearchCapture?: GenericEventHandler<Target> | undefined;
onSubmit?: GenericEventHandler<Target> | undefined;
onSubmitCapture?: GenericEventHandler<Target> | undefined;
onSubmit?: TargetedSubmitEvent<Target> | undefined;
onSubmitCapture?: TargetedSubmitEvent<Target> | undefined;
onInvalid?: GenericEventHandler<Target> | undefined;
onInvalidCapture?: GenericEventHandler<Target> | undefined;
onReset?: GenericEventHandler<Target> | undefined;
Expand Down

0 comments on commit 02ad4e2

Please sign in to comment.