diff --git a/packages/astro/types.d.ts b/packages/astro/types.d.ts index 9dd4106a16ca..eaf3f30c6baf 100644 --- a/packages/astro/types.d.ts +++ b/packages/astro/types.d.ts @@ -8,9 +8,9 @@ export type HTMLTag = keyof astroHTML.JSX.DefinedIntrinsicElements; /** The built-in attributes for any known HTML or SVG element name */ export type HTMLAttributes = Omit< astroHTML.JSX.IntrinsicElements[Tag], - keyof Omit + keyof Omit > & { - [key: string]: string | number | boolean | undefined; + [key: string]: string | number | boolean | null | undefined; }; /**