You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{ElementUIComponent,ElementUIComponentSize}from'./component'/** Button type */exporttypeButtonType='primary'|'success'|'warning'|'danger'|'info'|'text'/** Same as native button's type */exporttypeButtonNativeType='button'|'submit'|'reset'|'menu'/** Button Component */exportdeclareclassElButtonextendsElementUIComponent{/** Button size */size: ElementUIComponentSize/** Button type */type: ButtonType/** Determine whether it's a plain button */plain: boolean/** Determine whether it's a round button */round: boolean/** Determine whether it's loading */loading: boolean/** Disable the button */disabled: boolean/** Button icon, accepts an icon name of Element icon component */icon: string/** Same as native button's autofocus */autofocus: boolean/** Same as native button's type */nativeType: ButtonNativeType}
What is actually happening?
The text was updated successfully, but these errors were encountered:
Element UI version
2.15.14
OS/Browsers version
windows / google
Vue version
2.7.16
Reproduction Link
https://stackblitz.com/edit/vitejs-vite-rwxhvw?file=package.json
Steps to reproduce
使用组件时无类型提示
What is Expected?
有正确的组件类型提示
What is actually happening?
The text was updated successfully, but these errors were encountered: