We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use A global type support for ui modules in Vue3 Volar In this article, i finger out a global volar type support in element-plus, which can helps developer a lot.
// global.d.ts // GlobalComponents for Volar declare module "vue" { export interface GlobalComponents { AAffix: typeof import("ant-design-vue")["Affix"]; AAnchor: typeof import("ant-design-vue")["Anchor"]; AAnchorLink: typeof import("ant-design-vue")["AnchorLink"]; AAutoComplete: typeof import("ant-design-vue")["AutoComplete"]; AAutoCompleteOption: typeof import("ant-design-vue")["AutoCompleteOption"]; AAlert: typeof import("ant-design-vue")["Alert"]; AAvatar: typeof import("ant-design-vue")["Avatar"]; AAvatarGroup: typeof import("ant-design-vue")["AvatarGroup"]; ABackTop: typeof import("ant-design-vue")["BackTop"]; ABadge: typeof import("ant-design-vue")["Badge"]; ABadgeRibbon: typeof import("ant-design-vue")["BadgeRibbon"]; ABreadcrumb: typeof import("ant-design-vue")["Breadcrumb"]; ABreadcrumbSeparator: typeof import("ant-design-vue")["BreadcrumbSeparator"]; AButton: typeof import("ant-design-vue")["Button"]; AButtonGroup: typeof import("ant-design-vue")["ButtonGroup"]; ACalendar: typeof import("ant-design-vue")["Calendar"]; ACard: typeof import("ant-design-vue")["Card"]; ACardMeta: typeof import("ant-design-vue")["CardMeta"]; ACollapse: typeof import("ant-design-vue")["Collapse"]; ACollapsePanel: typeof import("ant-design-vue")["CollapsePanel"]; ACarousel: typeof import("ant-design-vue")["Carousel"]; ACascader: typeof import("ant-design-vue")["Cascader"]; ACheckbox: typeof import("ant-design-vue")["Checkbox"]; ACheckboxGroup: typeof import("ant-design-vue")["CheckboxGroup"]; ACol: typeof import("ant-design-vue")["Col"]; AComment: typeof import("ant-design-vue")["Comment"]; AConfigProvider: typeof import("ant-design-vue")["ConfigProvider"]; ADatePicker: typeof import("ant-design-vue")["DatePicker"]; AWeekPicker: typeof import("ant-design-vue")["WeekPicker"]; ADescriptions: typeof import("ant-design-vue")["Descriptions"]; ADescriptionsItem: typeof import("ant-design-vue")["DescriptionsItem"]; ADivider: typeof import("ant-design-vue")["Divider"]; ADropdown: typeof import("ant-design-vue")["Dropdown"]; ADropdownButton: typeof import("ant-design-vue")["DropdownButton"]; ADrawer: typeof import("ant-design-vue")["Drawer"]; AEmpty: typeof import("ant-design-vue")["Empty"]; AForm: typeof import("ant-design-vue")["Form"]; AFormItem: typeof import("ant-design-vue")["FormItem"]; AGrid: typeof import("ant-design-vue")["Grid"]; AInput: typeof import("ant-design-vue")["Input"]; ATextarea: typeof import("ant-design-vue")["Textarea"]; AImage: typeof import("ant-design-vue")["Image"]; AImagePreviewGroup: typeof import("ant-design-vue")["ImagePreviewGroup"]; AInputNumber: typeof import("ant-design-vue")["InputNumber"]; ALayout: typeof import("ant-design-vue")["Layout"]; ALayoutHeader: typeof import("ant-design-vue")["LayoutHeader"]; ALayoutSider: typeof import("ant-design-vue")["LayoutSider"]; ALayoutFooter: typeof import("ant-design-vue")["LayoutFooter"]; ALayoutContent: typeof import("ant-design-vue")["LayoutContent"]; AList: typeof import("ant-design-vue")["List"]; AListItemMeta: typeof import("ant-design-vue")["ListItemMeta"]; Amessage: typeof import("ant-design-vue")["message"]; AMenu: typeof import("ant-design-vue")["Menu"]; ASubMenu: typeof import("ant-design-vue")["SubMenu"]; AMentions: typeof import("ant-design-vue")["Mentions"]; AMentionsOption: typeof import("ant-design-vue")["MentionsOption"]; AModal: typeof import("ant-design-vue")["Modal"]; AStatistic: typeof import("ant-design-vue")["Statistic"]; AStatisticCountdown: typeof import("ant-design-vue")["StatisticCountdown"]; Anotification: typeof import("ant-design-vue")["notification"]; APageHeader: typeof import("ant-design-vue")["PageHeader"]; APagination: typeof import("ant-design-vue")["Pagination"]; APopconfirm: typeof import("ant-design-vue")["Popconfirm"]; APopover: typeof import("ant-design-vue")["Popover"]; AProgress: typeof import("ant-design-vue")["Progress"]; ARadio: typeof import("ant-design-vue")["Radio"]; ARadioGroup: typeof import("ant-design-vue")["RadioGroup"]; ARate: typeof import("ant-design-vue")["Rate"]; AResult: typeof import("ant-design-vue")["Result"]; ARow: typeof import("ant-design-vue")["Row"]; ASelect: typeof import("ant-design-vue")["Select"]; ASelectOption: typeof import("ant-design-vue")["SelectOption"]; ASkeleton: typeof import("ant-design-vue")["Skeleton"]; ASkeletonButton: typeof import("ant-design-vue")["SkeletonButton"]; ASkeletonAvatar: typeof import("ant-design-vue")["SkeletonAvatar"]; ASkeletonInput: typeof import("ant-design-vue")["SkeletonInput"]; ASkeletonImage: typeof import("ant-design-vue")["SkeletonImage"]; ASlider: typeof import("ant-design-vue")["Slider"]; ASpace: typeof import("ant-design-vue")["Space"]; ASpin: typeof import("ant-design-vue")["Spin"]; ASteps: typeof import("ant-design-vue")["Steps"]; AStep: typeof import("ant-design-vue")["Step"]; ASwitch: typeof import("ant-design-vue")["Switch"]; ATable: typeof import("ant-design-vue")["Table"]; ATableColumnGroup: typeof import("ant-design-vue")["TableColumnGroup"]; ATransfer: typeof import("ant-design-vue")["Transfer"]; ATree: typeof import("ant-design-vue")["Tree"]; ADirectoryTree: typeof import("ant-design-vue")["DirectoryTree"]; ATreeSelect: typeof import("ant-design-vue")["TreeSelect"]; ATreeSelectNode: typeof import("ant-design-vue")["TreeSelectNode"]; ATabs: typeof import("ant-design-vue")["Tabs"]; ATabContent: typeof import("ant-design-vue")["TabContent"]; ATag: typeof import("ant-design-vue")["Tag"]; ACheckableTag: typeof import("ant-design-vue")["CheckableTag"]; ATimePicker: typeof import("ant-design-vue")["TimePicker"]; ATimeline: typeof import("ant-design-vue")["Timeline"]; ATimelineItem: typeof import("ant-design-vue")["TimelineItem"]; ATooltip: typeof import("ant-design-vue")["Tooltip"]; ATypography: typeof import("ant-design-vue")["Typography"]; ATypographyLink: typeof import("ant-design-vue")["TypographyLink"]; ATypographyParagraph: typeof import("ant-design-vue")["TypographyParagraph"]; ATypographyText: typeof import("ant-design-vue")["TypographyText"]; ATypographyTitle: typeof import("ant-design-vue")["TypographyTitle"]; AUpload: typeof import("ant-design-vue")["Upload"]; AUploadDragger: typeof import("ant-design-vue")["UploadDragger"]; ALocaleProvider: typeof import("ant-design-vue")["LocaleProvider"]; } } export {};
The text was updated successfully, but these errors were encountered:
73ebf4c
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
Amour1688
No branches or pull requests
What problem does this feature solve?
How to use A global type support for ui modules in Vue3 Volar
In this article, i finger out a global volar type support in element-plus, which can helps developer a lot.
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: