diff --git a/types/stripe/index.d.ts b/types/stripe/index.d.ts index dcab22ed2f..06b7fbbb70 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -7192,7 +7192,7 @@ declare namespace Stripe { } class WebHooks { - constructEvent(requestBody: any, signature: string | string[], endpointSecret: string, tolerance: number): webhooks.StripeWebhookEvent; + constructEvent(requestBody: any, signature: string | string[], endpointSecret: string, tolerance?: number): webhooks.StripeWebhookEvent; } class EphemeralKeys {