diff --git a/src/lib/campaignListOmnibox.ts b/src/lib/campaignListOmnibox.ts index 5bee0ff0..6f3cd8e6 100644 --- a/src/lib/campaignListOmnibox.ts +++ b/src/lib/campaignListOmnibox.ts @@ -18,8 +18,7 @@ export type CampaignListOmniboxSuggestion = { keywords?: readonly string[] } -/** Substring match after accent-fold / pt-BR lowercasing. Empty needle matches all. */ -export const omniboxQueryMatches = ( +const omniboxQueryMatches = ( haystack: string, needle: string, keywords: readonly string[] = [],