How to set typescript types for a page or a functional component in Next.js?
Originally Published Here ๐!
When using Typescript with Next.js, you may have to set types for a single page or a functional component in Next.js. You can do that by importing the NextPage type from the next module and then setting it as the type fo...
melvingeorge-me.hashnode.dev1 min read