Remove remaining @ts-expect-error comment

- Remove @ts-expect-error from _unusedExtractTags
- Mark unused parameter with underscore prefix
- All TypeScript checks pass without any control disabling comments
This commit is contained in:
Nicolas Cantu 2025-12-27 22:29:39 +01:00
parent 6a57868704
commit 58b35e2a67

View File

@ -87,8 +87,7 @@ export function parseReviewFromEvent(event: Event): Review | null {
// extractTags is now replaced by extractTagsFromEvent from nostrTagSystem
// This function is kept for backward compatibility but should be migrated
// Currently unused - kept for potential future migration
// @ts-expect-error - Unused function kept for backward compatibility
function _unusedExtractTags(event: Event) {
function _unusedExtractTags(_event: Event) {
const tags = extractTagsFromEvent(event)
const mediaTags = event.tags.filter((tag: string[]) => tag[0] === 'media')
const media: MediaRef[] =