This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import type { Stripe } from 'stripe'; | |
export type Replace<T, K extends object> = Omit<T, keyof K> & K; | |
/** https://stripe.com/docs/expand#with-webhooks */ | |
export interface StripeSubscriptionUnexpanded extends Stripe.Subscription { | |
customer: string; | |
} | |
export interface StripeSubscriptionEvent extends Stripe.Event { |