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

Update error types to be namespaced under Stripe.error #1375

Merged
Merged
4 changes: 2 additions & 2 deletions types/2020-08-27/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ declare module 'stripe' {
/**
* API Errors
*/
static errors: Stripe.Errors;
pakrym-stripe marked this conversation as resolved.
Show resolved Hide resolved
errors: Stripe.Errors;
static errors: Stripe.errors.Errors;
errors: Stripe.errors.Errors;

on(event: 'request', handler: (event: Stripe.RequestEvent) => void): void;
on(event: 'response', handler: (event: Stripe.ResponseEvent) => void): void;
Expand Down