From 057a2a6f05d19e6c044f03767c967fb5b81ffb63 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 3 May 2017 17:31:00 -0400 Subject: [PATCH] Fix typescript error --- static/js/directives/ui/typeahead/typeahead.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/directives/ui/typeahead/typeahead.directive.ts b/static/js/directives/ui/typeahead/typeahead.directive.ts index d49b6de9c..8b494636c 100644 --- a/static/js/directives/ui/typeahead/typeahead.directive.ts +++ b/static/js/directives/ui/typeahead/typeahead.directive.ts @@ -19,7 +19,7 @@ export class TypeaheadDirective implements AfterContentInit { @Output('taEntered') entered = new EventEmitter(); private itemSelected: boolean = false; - private existingTimer: Promise = null; + private existingTimer: ng.IPromise = null; constructor(@Inject('$element') private $element: ng.IAugmentedJQuery, @Inject('$compile') private $compile: ng.ICompileService,