mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 12:37:16 +08:00
Stripe : Make tolerance an optional parameter
This commit is contained in:
2
types/stripe/index.d.ts
vendored
2
types/stripe/index.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user