Skip to content

Commit 1724627

Browse files
LinkCard.billingAddress type fix to reflect most attributes being optional
1 parent adde79a commit 1724627

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/types/cards.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export type LinkCard = {
187187
/**
188188
* - The billing address of the card
189189
*/
190-
billingAddress: CardBillingAddress;
190+
billingAddress: Partial<Pick<CardBillingAddress, 'addressLine1' | 'addressLine2' | 'city' | 'stateOrProvince' | 'country'>>;
191191
};
192192
/**
193193
* Card billing address
@@ -288,4 +288,4 @@ export type Card = {
288288
*/
289289
issuerCountry: string;
290290
};
291-
//# sourceMappingURL=cards.d.ts.map
291+
//# sourceMappingURL=cards.d.ts.map

0 commit comments

Comments
 (0)