Remove unused parameter from createNumberMask

This commit is contained in:
Eric Schultz 2018-10-03 13:22:56 -05:00
parent a5b3d5d198
commit 3e716eda79

View file

@ -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