Skip to content

fix: pre-existing LSP errors in sites/promo/src/components/news.tsx #92

Description

@BillyOutlast

LSP Errors

sites/promo/src/components/news.tsx has pre-existing TypeScript errors unrelated to recent changes:

ERROR [13:26] Cannot find module 'content-collections' or its corresponding type declarations.
ERROR [36:31] Parameter 'post' implicitly has an 'any' type.
ERROR [101:19] Parameter 'post' implicitly has an 'any' type.

Likely fixes

  1. Install @content-collections/core types or add a content-collections.d.ts declaration file
  2. Add explicit types for the post parameters at lines 36 and 101

Context

These errors existed before PR #91 and are not blocking, but should be resolved for full type safety in the promo site.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions