feat: Add typings for additional uni-components

Add typings for the following uni-components:
- WdCell
- WdCellGroup
- WdForm
- WdInput
- WdToast

This commit adds typings for these components to enhance type checking and improve developer experience.
This commit is contained in:
Timothy Yin 2024-09-19 00:25:27 +08:00
parent 2913490e4b
commit 0fe6fc4b1d

5
components.d.ts vendored
View File

@ -10,7 +10,12 @@ declare module 'vue' {
Tabbar: typeof import('./src/components/Tabbar.vue')['default']
TabBar: typeof import('./src/components/TabBar.vue')['default']
WdButton: typeof import('wot-design-uni/components/wd-button/wd-button.vue')['default']
WdCell: typeof import('wot-design-uni/components/wd-cell/wd-cell.vue')['default']
WdCellGroup: typeof import('wot-design-uni/components/wd-cell-group/wd-cell-group.vue')['default']
WdForm: typeof import('wot-design-uni/components/wd-form/wd-form.vue')['default']
WdInput: typeof import('wot-design-uni/components/wd-input/wd-input.vue')['default']
WdTabbar: typeof import('wot-design-uni/components/wd-tabbar/wd-tabbar.vue')['default']
WdTabbarItem: typeof import('wot-design-uni/components/wd-tabbar-item/wd-tabbar-item.vue')['default']
WdToast: typeof import('wot-design-uni/components/wd-toast/wd-toast.vue')['default']
}
}