Exploring the realms of NextJS and TypeScript, I find myself embarking on a project for practice. A thought crosses my mind - would it be wise to consolidate all my type definitions into a single file like global.d.ts
? Could this possibly impact the performance of the project? If so, what is the recommended approach for organizing type definitions in a TypeScript environment?
Recently, I dived into a Next JS endeavor with Typescript.