title: How to declare global typescript interfaces in next.js
body: <p>I am making an ecommerce web app using next.js and typescript for frontend, in which I have declared many interfaces which are similar in different pages and components. Is there some way I can make global interfaces which can be accessed by all pages and components?</p>