Commit Graph

4 Commits

Author SHA1 Message Date
Andy Hanson
28ef3d201b Remove <reference path="../xxx/xxx.d.ts"> from definitions files and replace it with import * as Xxx from "xxx" or <reference types="xxx"/> 2016-09-16 08:59:57 -07:00
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
Nicolas Schmitt
dfb808f777 update react-autosuggest (#9262)
* update react-autosuggest

* fixed InputProps.onChange & authors

* removed unnecessary interface
2016-05-14 23:28:41 +09:00
Steve
d1555d272c Initial typings for react-autosuggest (#9184)
* Initial react-autosuggest typings

* Fixed tests
2016-05-06 01:54:59 +09:00