diff --git a/javascripts/src/lib/createNumberMask.ts b/javascripts/src/lib/createNumberMask.ts index 69f70cae..2155d289 100644 --- a/javascripts/src/lib/createNumberMask.ts +++ b/javascripts/src/lib/createNumberMask.ts @@ -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