Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CollectBankAccountTokenResult type #343

Merged
merged 1 commit into from
Aug 17, 2022

Conversation

bcobb-stripe
Copy link
Contributor

Summary & motivation

Testing & documentation

The addition to tests/types/src/valid.ts causes the suite to fail without the
accompanying code change.

- 1052894 incorrectly specified that `CollectBankAccountTokenResult`'s
  `token` property could be a `string`.
- Exports a new API type to represent Bank Account Tokens, based on the
  existing Token type. `collectBankAccountToken` will never return a
  Card Token.
@bcobb-stripe bcobb-stripe merged commit a3862c0 into master Aug 17, 2022
@bcobb-stripe bcobb-stripe deleted the bcobb-fix-collect-bank-account-token-types branch August 17, 2022 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: Incorrect types for CollectBankAccountTokenResult
2 participants