Stripe : Make tolerance an optional parameter

This commit is contained in:
Mohamed Kamagate
2018-08-28 08:43:56 -07:00
committed by GitHub
parent 80b0171ab7
commit 9095eefdcc

View File

@@ -7192,7 +7192,7 @@ declare namespace Stripe {
}
class WebHooks {
constructEvent<T>(requestBody: any, signature: string | string[], endpointSecret: string, tolerance: number): webhooks.StripeWebhookEvent<T>;
constructEvent<T>(requestBody: any, signature: string | string[], endpointSecret: string, tolerance?: number): webhooks.StripeWebhookEvent<T>;
}
class EphemeralKeys {