feat(typeahead): support wait-ms option