Skip to content

Apply required param types for generate-schema.ts #3586

@endigo9740

Description

@endigo9740

Currently the generate.schema.ts script in the Docs project is failing the astro-check pass due to non-specified types (read: any types). As well as what looks to be a type-related issue for Necroparser.

Image

Image

To get our CI process back in a green state I've taken a somewhat drastic step exclude this script from the tsconfig.ts, essential skipping it from any type checks.

This is meant to be temporary measure until @Hugos68 (or anyone wiling) can help troubleshoot this issue. But should get back in a "working state" for CI checks and unblock progress with new PRs.

I'd welcome a fix for this asap.

So steps to work on this:

  • Remove generate-schema.ts from the exclude list in tsconfig.ts
  • Run pnpm check in the project root to trigger astro-check in the docs project (to see this errors above)
  • Add the missing types in the generate-schema.ts script to satisfy the check
  • Then all should be well!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions