After migrating my Next App from JS
to TSX
, I noticed that the JSX
in my TSX
file is showing errors and underlined, even though the app runs fine in the browser. I'm puzzled as to why this inconsistency exists. Can anyone provide assistance in resolving this issue?
Here are some screenshots of my code, package.json, and tsconfig.json