Skip to content

Commit ca1f828

Browse files
committed
refactor: export types
1 parent d469d48 commit ca1f828

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

types/vue-stripe.d.ts

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,21 @@ export type StripeElementsWithoutOverload = {
5353
update: (options: StripeElementsUpdateOptions) => void
5454
}
5555

56-
declare module 'vue-stripe-js' {
57-
export const initStripe: (
58-
key: string,
59-
options: StripeConstructorOptions
60-
) => unknown | Stripe
56+
export const initStripe: (
57+
key: string,
58+
options: StripeConstructorOptions
59+
) => unknown | Stripe
6160

62-
export const createElements: (
63-
instance: Stripe,
64-
options?: StripeElementsOptions
65-
) => unknown | StripeElements
61+
export const createElements: (
62+
instance: Stripe,
63+
options?: StripeElementsOptions
64+
) => unknown | StripeElements
6665

67-
export const createElement: (
68-
elements: StripeElements,
69-
elementType: StripeElementType,
70-
options?: StripeElementOptions
71-
) => unknown | StripeElement
66+
export const createElement: (
67+
elements: StripeElements,
68+
elementType: StripeElementType,
69+
options?: StripeElementOptions
70+
) => unknown | StripeElement
7271

73-
export const StripeElements: Component
74-
export const StripeElement: Component
75-
}
72+
export const StripeElements: Component
73+
export const StripeElement: Component

0 commit comments

Comments
 (0)