diff --git a/packages/template/src/elements.d.ts b/packages/template/src/elements.d.ts index 2c9ccc38e..8b8b03f3d 100644 --- a/packages/template/src/elements.d.ts +++ b/packages/template/src/elements.d.ts @@ -23,7 +23,7 @@ declare namespace JSX { type NoFunctions = { [P in keyof T]: T[P] extends ((...args: any[]) => any) ? never : P }[keyof T]; type ExtractProps = { - [P in Extract, WritableKeysOf>]?: T[P] extends string | number | Date | boolean ? T[P] : never; + [P in Extract, WritableKeysOf>]?: T[P] extends string | number | Date | boolean ? T[P] : any; } & { [name: string]: any; class?: string };