react-plaid-link
react-plaid-link copied to clipboard
Incorrect type for `PlaidAccount`
The definition of PlaidAccount is currently this, which has no class_type and says that verification_status is always a string. However, according to the API docs and from what I've seen during real-world use, the correct type should be the following, where verification_status is nullable and class_type is specified.
export interface PlaidAccount {
id: string;
name: string;
mask: string;
type: string;
subtype: string;
verification_status: string | null;
class_type: string | null;
}