From 954b68bfffc7475491c245d4595ccdf8b01f15ba Mon Sep 17 00:00:00 2001 From: igochkov Date: Wed, 13 Jan 2016 22:16:17 +0100 Subject: [PATCH] Typeahead constructors changed to be generic --- typeahead/typeahead.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typeahead/typeahead.d.ts b/typeahead/typeahead.d.ts index 69da168ea..b229bb29d 100644 --- a/typeahead/typeahead.d.ts +++ b/typeahead/typeahead.d.ts @@ -13,7 +13,7 @@ interface JQuery { * @param options Options hash that's used for configuration * @param datasets Array of datasets */ - typeahead(options: Twitter.Typeahead.Options, datasets: Twitter.Typeahead.Dataset[]): JQuery; + typeahead(options: Twitter.Typeahead.Options, datasets: Twitter.Typeahead.Dataset[]): JQuery; /** * For a given input[type="text"], enables typeahead functionality. @@ -22,7 +22,7 @@ interface JQuery { * @param options Options hash that's used for configuration * @param datasets One or more datasets passed as rest parameters. */ - typeahead(options: Twitter.Typeahead.Options, ...datasets: Twitter.Typeahead.Dataset[]): JQuery; + typeahead(options: Twitter.Typeahead.Options, ...datasets: Twitter.Typeahead.Dataset[]): JQuery; /** * Returns the current value of the typeahead.