chore(lint): disallow duplicate imports from a module

Closes #7859
This commit is contained in:
Alex Eagle
2016-03-28 14:39:29 -07:00
committed by Misko Hevery
parent e9332c66d2
commit 666dc75c15
2 changed files with 2 additions and 3 deletions

View File

@ -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;