refactor: remove ts2dart annotations
This commit is contained in:
@ -1519,13 +1519,7 @@ function loginIsEmptyGroupValidator(c: ControlGroup) {
|
||||
|
||||
@Directive({
|
||||
selector: '[login-is-empty-validator]',
|
||||
providers: [
|
||||
/* @ts2dart_Provider */ {
|
||||
provide: NG_VALIDATORS,
|
||||
useValue: loginIsEmptyGroupValidator,
|
||||
multi: true
|
||||
}
|
||||
]
|
||||
providers: [{provide: NG_VALIDATORS, useValue: loginIsEmptyGroupValidator, multi: true}]
|
||||
})
|
||||
class LoginIsEmptyValidator {
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ import {PromiseWrapper} from '../../src/facade/promise';
|
||||
import {TimerWrapper, ObservableWrapper, EventEmitter} from '../../src/facade/async';
|
||||
|
||||
export function main() {
|
||||
function asyncValidator(expected: any /** TODO #9100 */, timeouts = /*@ts2dart_const*/ {}) {
|
||||
function asyncValidator(expected: any /** TODO #9100 */, timeouts = {}) {
|
||||
return (c: any /** TODO #9100 */) => {
|
||||
var completer = PromiseWrapper.completer();
|
||||
var t = isPresent((timeouts as any /** TODO #9100 */)[c.value]) ?
|
||||
|
Reference in New Issue
Block a user