mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-15 22:40:21 +00:00
Update typeahead.d.ts
Change property suggestion to function which returns a string.
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user