diff --git a/types/lib.d.ts b/types/lib.d.ts index 0f2010bfe2..c2608f339c 100644 --- a/types/lib.d.ts +++ b/types/lib.d.ts @@ -203,7 +203,7 @@ declare module 'stripe' { | 'authentication_error' | 'invalid_grant'; - class StripeError { + class StripeError extends Error { static populate(type: RawErrorType): StripeError; /**