Updating HostedFields.on to take the event param

This commit is contained in:
KyleMcNutt
2016-11-14 17:06:58 -08:00
committed by GitHub
parent c810dc61a9
commit 65cca47c83

View File

@@ -97,7 +97,7 @@ declare namespace BraintreeWeb {
// billingContact
// Billing contact information for the user.
// countryCode
//Required.The merchant<EFBFBD>s two- letter ISO 3166 country code.
//Required.The merchants two- letter ISO 3166 country code.
// currencyCode
// Required.The three- letter ISO 4217 currency code for the payment.
// lineItems
@@ -782,7 +782,7 @@ declare namespace BraintreeWeb {
* });
* @returns {void}
*/
on(event: string, handler: (() => any)): void;
on(event: string, handler: ((event: any) => any)): void;
/**
* Cleanly tear down anything set up by {@link module:braintree-web/hosted-fields.create|create}
@@ -1740,4 +1740,4 @@ interface BraintreeStatic {
VERSION: string;
}
declare var braintree: BraintreeStatic;
declare var braintree: BraintreeStatic;