parent
e9332c66d2
commit
666dc75c15
|
@ -2,7 +2,6 @@ import {forwardRef, Attribute, Directive} from '@angular/core';
|
||||||
import {NumberWrapper} from '../../facade/lang';
|
import {NumberWrapper} from '../../facade/lang';
|
||||||
import {Validators, NG_VALIDATORS} from '../validators';
|
import {Validators, NG_VALIDATORS} from '../validators';
|
||||||
import {AbstractControl} from '../model';
|
import {AbstractControl} from '../model';
|
||||||
import * as modelModule from '../model';
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,7 +22,7 @@ import * as modelModule from '../model';
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
export interface Validator { validate(c: modelModule.AbstractControl): {[key: string]: any}; }
|
export interface Validator { validate(c: AbstractControl): {[key: string]: any}; }
|
||||||
|
|
||||||
const REQUIRED = /*@ts2dart_const*/ Validators.required;
|
const REQUIRED = /*@ts2dart_const*/ Validators.required;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"requireInternalWithUnderscore": true,
|
"requireInternalWithUnderscore": true,
|
||||||
"requireParameterType": true,
|
"requireParameterType": true,
|
||||||
"requireReturnType": true,
|
"requireReturnType": true,
|
||||||
"duplicateModuleImport": false,
|
"duplicateModuleImport": true,
|
||||||
"semicolon": true,
|
"semicolon": true,
|
||||||
"variable-name": false
|
"variable-name": false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue