mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Update typeahead.d.ts
Change property suggestion to function which returns a string.
This commit is contained in:
2
typeahead/typeahead.d.ts
vendored
2
typeahead/typeahead.d.ts
vendored
@@ -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