From 665d71ffc3efb5d52f7e81c32ea546accc76e0ab Mon Sep 17 00:00:00 2001 From: Colin Brooks Date: Thu, 17 Sep 2020 16:49:52 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#47704=20[@types/br?= =?UTF-8?q?aintree-web]:=20Fix=20DataCollector.create=20args=20by=20@colin?= =?UTF-8?q?robertbrooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/braintree-web/modules/data-collector.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/braintree-web/modules/data-collector.d.ts b/types/braintree-web/modules/data-collector.d.ts index 512bdad77b..59b012fd4f 100644 --- a/types/braintree-web/modules/data-collector.d.ts +++ b/types/braintree-web/modules/data-collector.d.ts @@ -2,8 +2,8 @@ import { callback } from './core'; import { Client } from './client'; export interface DataCollector { - create(options: { client: Client; kount: boolean; paypal: boolean }): Promise; - create(options: { client: Client; kount: boolean; paypal: boolean }, callback: callback): void; + create(options: { client: Client; kount?: boolean; paypal?: boolean }): Promise; + create(options: { client: Client; kount?: boolean; paypal?: boolean }, callback: callback): void; VERSION: string;