Skip to content

Commit 52735c8

Browse files
authored
types: Correct HTMLProps to extend all known props (#4651)
1 parent 3ff5f50 commit 52735c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ declare namespace React {
8484
export interface HTMLAttributes<T extends EventTarget>
8585
extends JSXInternal.HTMLAttributes<T> {}
8686
export interface HTMLProps<T extends EventTarget>
87-
extends JSXInternal.HTMLAttributes<T>,
87+
extends JSXInternal.AllHTMLAttributes<T>,
8888
preact.ClassAttributes<T> {}
8989
export interface AllHTMLAttributes<T extends EventTarget>
9090
extends JSXInternal.AllHTMLAttributes<T> {}

0 commit comments

Comments
 (0)