diff --git a/compat/src/index.d.ts b/compat/src/index.d.ts index f9aa95ca95..a4bdee832c 100644 --- a/compat/src/index.d.ts +++ b/compat/src/index.d.ts @@ -84,7 +84,7 @@ declare namespace React { export interface HTMLAttributes extends JSXInternal.HTMLAttributes {} export interface HTMLProps - extends JSXInternal.HTMLAttributes, + extends JSXInternal.AllHTMLAttributes, preact.ClassAttributes {} export interface AllHTMLAttributes extends JSXInternal.AllHTMLAttributes {}