Fix typescript error

This commit is contained in:
Joseph Schorr 2017-05-03 17:31:00 -04:00
parent 43e032299c
commit 057a2a6f05

View file

@ -19,7 +19,7 @@ export class TypeaheadDirective implements AfterContentInit {
@Output('taEntered') entered = new EventEmitter<any>();
private itemSelected: boolean = false;
private existingTimer: Promise = null;
private existingTimer: ng.IPromise<void> = null;
constructor(@Inject('$element') private $element: ng.IAugmentedJQuery,
@Inject('$compile') private $compile: ng.ICompileService,