summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/stale-paws-rhyme.md5
-rw-r--r--packages/astro/astro-jsx.d.ts3
2 files changed, 7 insertions, 1 deletions
diff --git a/.changeset/stale-paws-rhyme.md b/.changeset/stale-paws-rhyme.md
new file mode 100644
index 000000000..e174484c0
--- /dev/null
+++ b/.changeset/stale-paws-rhyme.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Add missing `slot` attributes to SVG definitions
diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts
index 27a37bd42..893b92b2f 100644
--- a/packages/astro/astro-jsx.d.ts
+++ b/packages/astro/astro-jsx.d.ts
@@ -1007,7 +1007,7 @@ declare namespace astroHTML.JSX {
// - "string"
// - union of string literals
interface SVGAttributes extends AriaAttributes, DOMAttributes, AstroBuiltinAttributes {
- // Attributes which also defined in HTMLAttributes
+ // Attributes which are also defined in HTMLAttributes
class?: string | undefined | null;
color?: string | undefined | null;
height?: number | string | undefined | null;
@@ -1018,6 +1018,7 @@ declare namespace astroHTML.JSX {
method?: string | undefined | null;
min?: number | string | undefined | null;
name?: string | undefined | null;
+ slot?: string | undefined | null;
style?: string | Record<string, any> | undefined | null;
target?: string | undefined | null;
type?: string | undefined | null;