diff --git a/.changeset/dull-masks-eat.md b/.changeset/dull-masks-eat.md new file mode 100644 index 0000000000..b72dabb36d --- /dev/null +++ b/.changeset/dull-masks-eat.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixed some newer HTML attributes not being included in our type definitions diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts index 3f73bcc613..46202644a6 100644 --- a/packages/astro/astro-jsx.d.ts +++ b/packages/astro/astro-jsx.d.ts @@ -517,7 +517,8 @@ declare namespace astroHTML.JSX { | 'search' | 'send' | undefined - | null; + | null; + exportparts?: string | undefined | null; hidden?: boolean | string | undefined | null; id?: string | undefined | null; inert?: boolean | string | undefined | null; @@ -533,18 +534,23 @@ declare namespace astroHTML.JSX { | undefined | null; is?: string | undefined | null; + + // Microdata API itemid?: string | undefined | null; itemprop?: string | undefined | null; itemref?: string | undefined | null; itemscope?: boolean | string | undefined | null; itemtype?: string | undefined | null; + lang?: string | undefined | null; + part?: string | undefined | null; + popover?: boolean | string | undefined | null; slot?: string | undefined | null; spellcheck?: 'true' | 'false' | boolean | undefined | null; style?: string | StyleObject | undefined | null; tabindex?: number | string | undefined | null; title?: string | undefined | null; - translate?: 'yes' | 'no' | undefined | null; + translate?: 'yes' | 'no' | '' | undefined | null; // , radiogroup?: string | undefined | null;