Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
search_pill: Simplify type of `pill_render_data`.
Aman Agrawal87c837352d31
diff --git a/web/src/search_pill.ts b/web/src/search_pill.tsindex 2e676f08d89..e61058ca524 100644--- a/web/src/search_pill.ts+++ b/web/src/search_pill.ts@@ -113,7 +113,7 @@ export function generate_pills_html(suggestion: Suggestion, text_query: string):const search_terms = Filter.parse(suggestion.search_string);type PillRenderData =- | ({type: "generic_operator"} & (NarrowCanonicalTerm | NarrowTermSuggestion) & {+ | ({type: "generic_operator"} & NarrowTermSuggestion & {display_value?: string;is_empty_string_topic?: boolean;sign?: string;