borisyankov/DefinitelyTyped — pull request #2899 by ErikSchierboom (2014-09-29 13:08:51+00:00)
Title: Fixed bug in typeahead definition

There was a bug in the definition of the `Templates` interface. This stated that the `suggestion` property was a `string`, but this is actually a function. This PR fixes that issue and also adds tests.