mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
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:
parent
697d96daec
commit
cb87d23509
1 changed files with 1 additions and 1 deletions
|
|
@ -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';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue