Skip to content

Commit af596b5

Browse files
committed
feat(payment): create Stripe utils package
1 parent b125421 commit af596b5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/stripe-integration/src/stripe-ocs/getStripeOCSStyles.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { isEmpty } from 'lodash';
22

33
import { getAppliedStyles } from '@bigcommerce/checkout/dom-utils';
4-
import { StripeAppearanceOptions, StripeCustomFont } from '../stripe-types';
4+
5+
import type { StripeAppearanceOptions, StripeCustomFont } from '../stripe-types';
56

67
const getStylesFromElement = (
78
selector: string,

packages/stripe-integration/src/stripe-types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ interface StripeAddress {
3232
country: string;
3333
line1: string;
3434
line2?: string;
35+
// eslint-disable-next-line @typescript-eslint/naming-convention
3536
postal_code: string;
3637
state: string;
3738
}

0 commit comments

Comments
 (0)