-
Notifications
You must be signed in to change notification settings - Fork 747
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
Typescript charge.status
is defined as string
instead of explicit values
#1330
Comments
davidbielik
changed the title
Typescript charge.status is
Typescript Jan 13, 2022
string
instead of enum
charge.status
is defined as string
instead of explicit values
Hi @davidbielik , thanks for the report! Let me see if we can change this to an enum and get back to you! |
Merged
This is now fixed and released in https://github.com/stripe/stripe-node/releases/tag/v8.198.0. Thanks again for the report! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I noticed that
charge.status
is defined asstring
instead of"succeeded" | "pending" | "failed"
, whereas other entities likeSubscription.status
is explicitly defined.The text was updated successfully, but these errors were encountered: