diff --git a/modules/@angular/common/src/forms/directives/validators.ts b/modules/@angular/common/src/forms/directives/validators.ts index ded3f1b961..abbe81d77a 100644 --- a/modules/@angular/common/src/forms/directives/validators.ts +++ b/modules/@angular/common/src/forms/directives/validators.ts @@ -2,7 +2,6 @@ import {forwardRef, Attribute, Directive} from '@angular/core'; import {NumberWrapper} from '../../facade/lang'; import {Validators, NG_VALIDATORS} from '../validators'; 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; diff --git a/tslint.json b/tslint.json index b1c5549a56..798d48fc41 100644 --- a/tslint.json +++ b/tslint.json @@ -3,7 +3,7 @@ "requireInternalWithUnderscore": true, "requireParameterType": true, "requireReturnType": true, - "duplicateModuleImport": false, + "duplicateModuleImport": true, "semicolon": true, "variable-name": false }