fix(help): import search types from search-types, not content

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) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-09 18:48:39 +02:00
parent 697d96daec
commit cb87d23509

View file

@ -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';