DefinitelyTyped/react-autosuggest
József Kanczler 3d78d9b025 Suggestion type for suggestion selected event. (#10762)
* Suggestion type for suggestion selected event.

SuggestionSelectedEventData converted to be a generic interface, so type of the suggestion property can be defined by the consumer.

* Explicit suggestion selected event data.

ExplicitSuggestionSelectedEventData is the parent interface for SuggestionSelectedEventData. With the explicit interface the consumer can determine the type of the suggestion. SuggestionSelectedEventData will be ExplicitSuggestionSelectedEventData<any>, so the consumers don't have to change anything in there code because of the typings.

* Explicit suggestion selected event data.
ExplicitSuggestionSelectedEventData is the parent interface for SuggestionSelectedEventData. With the explicit interface the consumer can determine the type of the suggestion. SuggestionSelectedEventData will be ExplicitSuggestionSelectedEventData<any>, so the consumers don't have to change anything in there code because of the typings.
2016-08-29 23:27:41 +09:00
..
react-autosuggest-tests.tsx Suggestion type for suggestion selected event. (#10762) 2016-08-29 23:27:41 +09:00
react-autosuggest.d.ts Suggestion type for suggestion selected event. (#10762) 2016-08-29 23:27:41 +09:00