Update credit-card-type to support latest prefixPattern and exactPattern

This commit is contained in:
Ben Herila 2017-01-26 14:00:30 -08:00 committed by GitHub
parent 1fdfb5b035
commit c305081cf1

View File

@ -10,7 +10,8 @@ declare namespace creditCardType {
interface CreditCardTypeInfo {
niceType?: string
type?: CardBrand
pattern?: RegExp
prefixPattern?: RegExp
exactPattern?: RegExp
gaps?: Array<number>
lengths?: Array<number>
code?: {