diff --git a/components/button/buttonTypes.ts b/components/button/buttonTypes.ts index a7a359ba1..6715b5caa 100644 --- a/components/button/buttonTypes.ts +++ b/components/button/buttonTypes.ts @@ -1,4 +1,5 @@ import { ExtractPropTypes } from 'vue'; + import { tuple } from '../_util/type'; import PropTypes, { withUndefined } from '../_util/vue-types'; @@ -28,6 +29,6 @@ const buttonProps = () => ({ onClick: PropTypes.func, }); -export type ButtonProps = ExtractPropTypes>>; +export type ButtonProps = Partial>>; export default buttonProps;