From cb87d23509b5a749c6f016028b85b5f77868464d Mon Sep 17 00:00:00 2001 From: Till JS Date: Thu, 9 Apr 2026 18:48:39 +0200 Subject: [PATCH] fix(help): import search types from search-types, not content MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit search-engine.ts had two import blocks both pointing at './content': the first picked up FAQItem / FeatureItem / GettingStartedItem / ChangelogItem (correct — those live in content.ts) and the second tried to pick up SearchableItem / SearchResult / SearchOptions / SearchIndexConfig (wrong — those live in search-types.ts). Result: 4 "Module './content' has no exported member" errors. Fix the second import to point at './search-types'. The first block stays untouched. Co-Authored-By: Claude Opus 4.6 (1M context) --- packages/help/src/search-engine.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/help/src/search-engine.ts b/packages/help/src/search-engine.ts index b13a1814a..199471090 100644 --- a/packages/help/src/search-engine.ts +++ b/packages/help/src/search-engine.ts @@ -16,7 +16,7 @@ import type { SearchResult, SearchOptions, SearchIndexConfig, -} from './content'; +} from './search-types'; import { generateExcerpt, stripHtml } from './parser.js'; import { sanitizeHtml } from './sanitize.js';