mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Merge pull request #15326 from LKay/lkay/payment-fix
Make type parameter optional as it should be
This commit is contained in:
commit
dd0d3c8ebc
2
payment/index.d.ts
vendored
2
payment/index.d.ts
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user