Skip to content

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

Open

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.

Activity

  1. BillyOutlast commented on Jul 26, 2026

    @BillyOutlast
    OwnerAuthor

    Pre-existing LSP errors — not introduced by any PR. Errors:

    • Cannot find module 'content-collections' (line 13)
    • Parameter 'post' implicitly has 'any' type (lines 36, 101)

    Likely fix: add content-collections type declaration + explicit types for post parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions