perf: move src/types to root

This commit is contained in:
Vben
2021-02-26 20:09:24 +08:00
parent a84586e2f4
commit fcee7d4eb7
36 changed files with 195 additions and 162 deletions

11
types/module.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
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;
}
declare module 'moment/locale/*' {
import { LocaleSpecification } from 'moment';
const locale: LocaleSpecification & ReadonlyRecordable;
export default locale;
}