chore: remove const Provider() in favor of /* @ts2dart_Provider */ {provide:}

This commit is contained in:
Misko Hevery
2016-04-25 22:25:21 -07:00
committed by Martin Probst
parent 3aa322a9c6
commit a8e277b067
59 changed files with 304 additions and 233 deletions

View File

@ -1371,7 +1371,13 @@ function loginIsEmptyGroupValidator(c: ControlGroup) {
@Directive({
selector: '[login-is-empty-validator]',
providers: [new Provider(NG_VALIDATORS, {useValue: loginIsEmptyGroupValidator, multi: true})]
providers: [
/* @ts2dart_Provider */ {
provide: NG_VALIDATORS,
useValue: loginIsEmptyGroupValidator,
multi: true
}
]
})
class LoginIsEmptyValidator {
}