X Tutup
Skip to content

Commit 1417e12

Browse files
mgechevjelbourn
authored andcommitted
refactor(playground): rename bindings to providers
1 parent 9a65ea7 commit 1417e12

File tree

1 file changed

+1
-1
lines changed
  • modules/playground/src/template_driven_forms

1 file changed

+1
-1
lines changed

modules/playground/src/template_driven_forms/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function creditCardValidator(c): {[key: string]: boolean} {
4242
const creditCardValidatorBinding =
4343
CONST_EXPR(new Provider(NG_VALIDATORS, {useValue: creditCardValidator, multi: true}));
4444

45-
@Directive({selector: '[credit-card]', bindings: [creditCardValidatorBinding]})
45+
@Directive({selector: '[credit-card]', providers: [creditCardValidatorBinding]})
4646
class CreditCardValidator {
4747
}
4848

0 commit comments

Comments
 (0)
X Tutup