We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5035771 commit 44bc942Copy full SHA for 44bc942
components/button/buttonTypes.ts
@@ -1,4 +1,5 @@
1
import { ExtractPropTypes } from 'vue';
2
+
3
import { tuple } from '../_util/type';
4
import PropTypes, { withUndefined } from '../_util/vue-types';
5
@@ -28,6 +29,6 @@ const buttonProps = () => ({
28
29
onClick: PropTypes.func,
30
});
31
-export type ButtonProps = ExtractPropTypes<ExtractPropTypes<ReturnType<typeof buttonProps>>>;
32
+export type ButtonProps = Partial<ExtractPropTypes<ReturnType<typeof buttonProps>>>;
33
34
export default buttonProps;
0 commit comments