diff --git a/types/braintree-web/index.d.ts b/types/braintree-web/index.d.ts index a2cfdb06c1..383c217d86 100644 --- a/types/braintree-web/index.d.ts +++ b/types/braintree-web/index.d.ts @@ -472,6 +472,18 @@ declare namespace braintree { } } +interface HostedFieldsFieldMaskInput { + /** + * The character to use when masking the input. + * @default '•' + */ + character?: string; + /** + * Only applicable for the credit card field. Whether or not to show the last 4 digits of the card when masking. + */ + showLastFour?: boolean; +} + /** @module braintree-web/hosted-fields */ declare namespace braintree { /** @@ -483,13 +495,20 @@ declare namespace braintree { * @property {boolean} [formatInput=true] - Enable or disable automatic formatting on this field. * @property {object|boolean} [select] If truthy, this field becomes a `