From c383d3006b96ddc41d64b41f21e605d70d74c35a Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Sun, 6 Oct 2024 09:13:30 +0800 Subject: [PATCH] chore: GlobalComponents --- apps/web-antd/types/global-components.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 apps/web-antd/types/global-components.d.ts diff --git a/apps/web-antd/types/global-components.d.ts b/apps/web-antd/types/global-components.d.ts new file mode 100644 index 00000000..1d870cf9 --- /dev/null +++ b/apps/web-antd/types/global-components.d.ts @@ -0,0 +1,8 @@ +export {}; + +/* prettier-ignore */ +declare module 'vue' { + export interface GlobalComponents { + AButton: typeof import('ant-design-vue/es/button')['default']; + } +}