Cannot find module 'next' or its corresponding type declarations.ts(2307) 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