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
|
allowNegative?: boolean
|
||||||
allowLeadingZeroes?: boolean
|
allowLeadingZeroes?: boolean
|
||||||
fixedDecimalScale?:boolean
|
fixedDecimalScale?:boolean
|
||||||
alwaysNegative?: boolean
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function createNumberMask({
|
export default function createNumberMask({
|
||||||
|
@ -40,8 +39,7 @@ export default function createNumberMask({
|
||||||
allowNegative = false,
|
allowNegative = false,
|
||||||
allowLeadingZeroes = false,
|
allowLeadingZeroes = false,
|
||||||
fixedDecimalScale = false,
|
fixedDecimalScale = false,
|
||||||
integerLimit = null,
|
integerLimit = null
|
||||||
alwaysNegative = false
|
|
||||||
}:NumberMaskProps = {}) {
|
}:NumberMaskProps = {}) {
|
||||||
const prefixLength = prefix && prefix.length || 0
|
const prefixLength = prefix && prefix.length || 0
|
||||||
const suffixLength = suffix && suffix.length || 0
|
const suffixLength = suffix && suffix.length || 0
|
||||||
|
|
Loading…
Reference in a new issue