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' }}