mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 21:31:12 +08:00
[@types/stripe] Fixed StripeWebhookEvent.created to be a number
The data received by a webhook endpoint is an almost identical object to the [Event Object](https://stripe.com/docs/api#event_object-created).
This commit is contained in:
2
types/stripe/index.d.ts
vendored
2
types/stripe/index.d.ts
vendored
@@ -3627,7 +3627,7 @@ declare namespace Stripe {
|
||||
id: string;
|
||||
object: string;
|
||||
api_version: string;
|
||||
created: Date;
|
||||
created: number;
|
||||
data: {
|
||||
object: T;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user