Skip to content

Commit

Permalink
style: 优化 undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed May 6, 2024
1 parent 3a0fed1 commit eecb991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fighting-design/input-number/src/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const Props = {
*
* @values default primary success danger warning
*/
buttonType: setStringProp<FightingType>(undefined, (val: FightingType): boolean => {
buttonType: setStringProp<FightingType>(void 0, (val: FightingType): boolean => {
return FIGHTING_TYPE.includes(val)
}),
/**
Expand Down

0 comments on commit eecb991

Please sign in to comment.