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