Cannot find module 'next/head' or its corresponding type declarations. code example
Example: Cannot find module 'next' or its corresponding type declarations.
//This worked for me in VS CODE
ctrl + shift + p
> TypeScript: Restart TS server
//This worked for me in VS CODE
ctrl + shift + p
> TypeScript: Restart TS server