Home

Published

- 1 min read

JSX element implicitly has type `any` because no interface `JSX.IntrinsicElements` exists.ts(7026)

img of JSX element implicitly has type `any` because no interface `JSX.IntrinsicElements` exists.ts(7026)

The solution for this is noted below

JSX element implicitly has type any because no interface JSX.IntrinsicElements exists.ts(7026)

Solution

   npm i -save -D @types/react

yarn add --dev @types/react

Try other methods by searching on the site. That is if this doesn’t work