feat: Add typings for uni-components
Add typings for the uni-components library to enable better type checking and editor support.
This commit is contained in:
parent
ceb9636b42
commit
f2f792aa12
2
components.d.ts
vendored
2
components.d.ts
vendored
@ -8,7 +8,7 @@ export {}
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
PageWrapper: typeof import('./src/components/page-wrapper.vue')['default']
|
||||
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']
|
||||
|
Loading…
Reference in New Issue
Block a user