Update typeahead.d.ts

Change property suggestion to function which returns a string.
This commit is contained in:
Saftpresse99
2014-09-10 13:15:17 +00:00
parent f29f862cf4
commit f79475e2b5

View File

@@ -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. <p>{{value}}</p>.
*/
suggestion?: string;
suggestion?: (datum: any) => string;
}