types/module.d.ts
@@ -1,11 +1,13 @@ declare module '*.vue' { import { DefineComponent } from 'vue'; const Component: DefineComponent<{}, {}, any>; export default Component; } declare module 'ant-design-vue/es/locale/*' { import { Locale } from 'ant-design-vue/types/locale-provider'; const locale: Locale & ReadonlyRecordable; export default locale as Locale & ReadonlyRecordable; }