Update typeahead.d.ts

Change property suggestion to a function which returns a string.