In my project, there's a shims-vue.d.ts file under src folder:
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
Even if I rename shims-vue.d.ts to foo.d.ts, the declarations still take effect, so I'm wondering is there any significant meaning for .d.ts filenames except for readability?
Since whatever I renamed it to, its declarations still work without manually importing the renamed .d.ts file.