Skip to content

Commit

Permalink
types: Correct HTMLProps to extend all known props (#4651)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian authored Feb 11, 2025
1 parent 3ff5f50 commit 52735c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ declare namespace React {
export interface HTMLAttributes<T extends EventTarget>
extends JSXInternal.HTMLAttributes<T> {}
export interface HTMLProps<T extends EventTarget>
extends JSXInternal.HTMLAttributes<T>,
extends JSXInternal.AllHTMLAttributes<T>,
preact.ClassAttributes<T> {}
export interface AllHTMLAttributes<T extends EventTarget>
extends JSXInternal.AllHTMLAttributes<T> {}
Expand Down

0 comments on commit 52735c8

Please sign in to comment.