diff --git a/payment/index.d.ts b/payment/index.d.ts index 33edc3ebe3..fbd3f5ba65 100644 --- a/payment/index.d.ts +++ b/payment/index.d.ts @@ -24,7 +24,7 @@ interface Fns { * * Validates number * * Validates length to 4 */ - validateCardCVC(cvc: string, type: string): boolean; + validateCardCVC(cvc: string, type?: string): boolean; /** * Returns a card type. Either: * * visa