Skip to content

Commit

Permalink
fix: update the name of type
Browse files Browse the repository at this point in the history
  • Loading branch information
samsam-ahmadi committed Aug 17, 2023
1 parent 1cc0de2 commit f5840a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compat/src/index.d.ts
Expand Up @@ -78,7 +78,7 @@ declare namespace React {

interface SVGAttributes extends JSXInternal.SVGAttributes {}

interface ReactSVG extends JSXInternal.SVGElements {}
interface ReactSVG extends JSXInternal.IntrinsicSVGElements {}

type HTMLAttributeReferrerPolicy =
| ''
Expand Down
4 changes: 2 additions & 2 deletions src/jsx.d.ts
Expand Up @@ -2021,7 +2021,7 @@ export namespace JSXInternal {
| SignalLike<number | string | undefined>;
}

export interface SVGElements {
export interface IntrinsicSVGElements {
svg: SVGAttributes<SVGSVGElement>;
animate: SVGAttributes<SVGAnimateElement>;
circle: SVGAttributes<SVGCircleElement>;
Expand Down Expand Up @@ -2083,7 +2083,7 @@ export namespace JSXInternal {
view: SVGAttributes<SVGViewElement>;
}

export interface IntrinsicElements extends SVGElements {
export interface IntrinsicElements extends IntrinsicSVGElements {
// HTML
a: HTMLAttributes<HTMLAnchorElement>;
abbr: HTMLAttributes<HTMLElement>;
Expand Down

0 comments on commit f5840a6

Please sign in to comment.