[react-plaid-link] Updating the product list to match the late… (#42359)

* 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
This commit is contained in:
Mike Cousins 2020-02-25 17:28:58 -07:00 committed by GitHub
parent aab46edb53
commit 81d00a20fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
// Type definitions for react-plaid-link 1.3
// Project: https://github.com/pbernasconi/react-plaid-link
// Definitions by: KeevanDance <https://github.com/DanceParty>
// Mike Cousins <https://github.com/mikecousins>
// 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.

View File

@ -21,8 +21,9 @@ const AllProps = () => {
'income',
'transactions',
'assets',
'holdings',
'liabilities',
'investments',
'payment_initiation',
]}
token="test"
user={{ legalName: 'Keevan', emailAddress: 'testuser@gmail.com' }}