You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The StripeError class doesn't extend Error in the typings, leading to errors like Error:(439, 44) TS2345: Argument of type 'StripeError' is not assignable to parameter of type 'Error'. Property 'name' is missing in type 'StripeError'.
Hi all,
The
StripeError
class doesn't extendError
in the typings, leading to errors likeError:(439, 44) TS2345: Argument of type 'StripeError' is not assignable to parameter of type 'Error'. Property 'name' is missing in type 'StripeError'.
Example
I've checked the sources and the class is actually extending
Error
.Cheers
The text was updated successfully, but these errors were encountered: