From f79475e2b5960b8afa1939ccd91e8e7c7c0a301c Mon Sep 17 00:00:00 2001 From: Saftpresse99 Date: Wed, 10 Sep 2014 13:15:17 +0000 Subject: [PATCH] Update typeahead.d.ts Change property suggestion to function which returns a string. --- typeahead/typeahead.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typeahead/typeahead.d.ts b/typeahead/typeahead.d.ts index 34ea565970..f847d3634d 100644 --- a/typeahead/typeahead.d.ts +++ b/typeahead/typeahead.d.ts @@ -159,7 +159,7 @@ declare module Twitter.Typeahead { * The associated suggestion object will serve as the context. * Defaults to the value of displayKey wrapped in a p tag i.e.

{{value}}

. */ - suggestion?: string; + suggestion?: (datum: any) => string; }