From 81d00a20fcb72257edf49261eb26d3b2fea42f93 Mon Sep 17 00:00:00 2001 From: Mike Cousins Date: Tue, 25 Feb 2020 17:28:58 -0700 Subject: [PATCH] =?UTF-8?q?[react-plaid-link]=20Updating=20the=20product?= =?UTF-8?q?=20list=20to=20match=20the=20late=E2=80=A6=20(#42359)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Adding investments to the product array * Adding investments to the product array in the test as well * Updating product array to match latest library code * Updating product array to match latest library code * Adding name to definitions by list --- types/react-plaid-link/index.d.ts | 4 +++- types/react-plaid-link/react-plaid-link-tests.tsx | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/types/react-plaid-link/index.d.ts b/types/react-plaid-link/index.d.ts index 9af6bb7cf9..978bc19cb8 100644 --- a/types/react-plaid-link/index.d.ts +++ b/types/react-plaid-link/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for react-plaid-link 1.3 // Project: https://github.com/pbernasconi/react-plaid-link // Definitions by: KeevanDance +// Mike Cousins // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.5 @@ -34,8 +35,9 @@ export interface PlaidLinkProps { | 'income' | 'transactions' | 'assets' - | 'holdings' | 'liabilities' + | 'investments' + | 'payment_initiation' >; // Specify an existing user's public token to launch Link in update mode. diff --git a/types/react-plaid-link/react-plaid-link-tests.tsx b/types/react-plaid-link/react-plaid-link-tests.tsx index d522ae0ef6..c0a47fc469 100644 --- a/types/react-plaid-link/react-plaid-link-tests.tsx +++ b/types/react-plaid-link/react-plaid-link-tests.tsx @@ -21,8 +21,9 @@ const AllProps = () => { 'income', 'transactions', 'assets', - 'holdings', 'liabilities', + 'investments', + 'payment_initiation', ]} token="test" user={{ legalName: 'Keevan', emailAddress: 'testuser@gmail.com' }}