From b41ad7fa3452a115af5b02c7eb713e83ddb4401e Mon Sep 17 00:00:00 2001 From: Christopher Blum Date: Mon, 18 Sep 2017 16:19:28 +0200 Subject: [PATCH] stripe-v3: Conert tabs to spaces --- types/stripe-v3/index.d.ts | 72 +++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/types/stripe-v3/index.d.ts b/types/stripe-v3/index.d.ts index 2bc7d9e853..b56d4b7b6b 100644 --- a/types/stripe-v3/index.d.ts +++ b/types/stripe-v3/index.d.ts @@ -19,7 +19,7 @@ declare namespace stripe { interface Stripe { elements(options?: elements.ElementsCreateOptions): elements.Elements; createToken(element: elements.Element, options?: TokenOptions): Promise; - createSource(options: SourceOptions): Promise; + createSource(options: SourceOptions): Promise; } interface StripeOptions { @@ -37,35 +37,35 @@ declare namespace stripe { currency?: string; } - interface SourceOptions { - type: string; - flow?: 'redirect' | 'receiver' | 'code_verification' | 'none'; - sepa_debit?: { - iban: string; - }; - currency?: string; - amount?: number; - owner?: { - address?: { - city?: string; - country?: string; - line1?: string; - line2?: string; - postal_code?: string; - state?: string; - }; - name?: string; - email?: string; - phone?: string; - }; - metadata?: object; - statement_descriptor?: string; - redirect?: { - return_url: string; - }; - token?: string; - usage?: 'reusable' | 'single_use'; - } + interface SourceOptions { + type: string; + flow?: 'redirect' | 'receiver' | 'code_verification' | 'none'; + sepa_debit?: { + iban: string; + }; + currency?: string; + amount?: number; + owner?: { + address?: { + city?: string; + country?: string; + line1?: string; + line2?: string; + postal_code?: string; + state?: string; + }; + name?: string; + email?: string; + phone?: string; + }; + metadata?: object; + statement_descriptor?: string; + redirect?: { + return_url: string; + }; + token?: string; + usage?: 'reusable' | 'single_use'; + } interface Token { id: string; @@ -84,7 +84,7 @@ declare namespace stripe { error?: Error; } - interface Source { + interface Source { client_secret: string; created: number; currency: string; @@ -106,12 +106,12 @@ declare namespace stripe { last4: string; mandate_reference: string; }; - } + } - interface SourceResponse { - source?: Source; - error?: Error; - } + interface SourceResponse { + source?: Source; + error?: Error; + } interface Error { type: string;