mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
fix(types): Add name attribute to AnchorHTMLAttributes (#10981)
* fix(types): Add name attribute to AnchorHTMLAttributes * Create tiny-toys-exist.md --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
This commit is contained in:
parent
2e2d6b7442
commit
ad9227c7d1
2 changed files with 6 additions and 0 deletions
5
.changeset/tiny-toys-exist.md
Normal file
5
.changeset/tiny-toys-exist.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"astro": patch
|
||||
---
|
||||
|
||||
Adds deprecated HTML attribute "name" to the list of valid attributes. This attribute has been replaced by the global `id` attribute in recent versions of HTML.
|
1
packages/astro/astro-jsx.d.ts
vendored
1
packages/astro/astro-jsx.d.ts
vendored
|
@ -605,6 +605,7 @@ declare namespace astroHTML.JSX {
|
|||
href?: string | URL | undefined | null;
|
||||
hreflang?: string | undefined | null;
|
||||
media?: string | undefined | null;
|
||||
name?: string | undefined | null;
|
||||
ping?: string | undefined | null;
|
||||
rel?: string | undefined | null;
|
||||
target?: HTMLAttributeAnchorTarget | undefined | null;
|
||||
|
|
Loading…
Add table
Reference in a new issue