Skip to content

basePath is missing type definition #464

Description

@kuperavv

basePath is typed as string or null. Preferably should enforce a valid PlaidEnvironment.

const configuration = new Configuration({
basePath: PlaidEnvironments.sandbox,
baseOptions: {
headers: {
'PLAID-CLIENT-ID': process.env.PLAID_CLIENT_ID,
'PLAID-SECRET': process.env.PLAID_SECRET,
},
},
});

export const PlaidEnvironments: PlaidEnvironment = {
production: 'https://production.plaid.com',
sandbox: 'https://sandbox.plaid.com',
development: 'https://development.plaid.com',
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions