There are apparently two main approaches to structuring apps that use TypeScript, namely CommonJS modules and ES modules. Based on many lines in the manual, this is a critical factor in how you write things and particularly how you import and export things like type aliases and interfaces which I expect to use.
Which approach should I be using to build my own apps? I’m building Vue 3 apps with Vuetify 3 and Pinia. I would strongly prefer to use whatever approach I’m most likely to find in teams building new apps, rather than those maintaining old code.