chore: upgrade to ts2dart@0.9.9
This commit is contained in:

committed by
Martin Probst

parent
46cd868827
commit
d2527b504a
@ -39,8 +39,11 @@ function creditCardValidator(c): {[key: string]: boolean} {
|
||||
}
|
||||
}
|
||||
|
||||
const creditCardValidatorBinding =
|
||||
CONST_EXPR(new Provider(NG_VALIDATORS, {useValue: creditCardValidator, multi: true}));
|
||||
const creditCardValidatorBinding = /** @ts2dart_const */ /** @ts2dart_Provider */ {
|
||||
provide: NG_VALIDATORS,
|
||||
useValue: creditCardValidator,
|
||||
multi: true
|
||||
};
|
||||
|
||||
@Directive({selector: '[credit-card]', providers: [creditCardValidatorBinding]})
|
||||
class CreditCardValidator {
|
||||
|
Reference in New Issue
Block a user