Cleaned up the code a little by extracting an interface.
Cleaned up the code a little by extracting an interface.

lecode-official/typescript-typeahead-binding-handler,lecode-official/typescript-typeahead-binding-handler