Remove unused parameter from createNumberMask
This commit is contained in:
parent
a5b3d5d198
commit
3e716eda79
1 changed files with 1 additions and 3 deletions
|
@ -25,7 +25,6 @@ interface NumberMaskProps {
|
|||
allowNegative?: boolean
|
||||
allowLeadingZeroes?: boolean
|
||||
fixedDecimalScale?:boolean
|
||||
alwaysNegative?: boolean
|
||||
}
|
||||
|
||||
export default function createNumberMask({
|
||||
|
@ -40,8 +39,7 @@ export default function createNumberMask({
|
|||
allowNegative = false,
|
||||
allowLeadingZeroes = false,
|
||||
fixedDecimalScale = false,
|
||||
integerLimit = null,
|
||||
alwaysNegative = false
|
||||
integerLimit = null
|
||||
}:NumberMaskProps = {}) {
|
||||
const prefixLength = prefix && prefix.length || 0
|
||||
const suffixLength = suffix && suffix.length || 0
|
||||
|
|
Loading…
Reference in a new issue