Skip to content

Conversation

futreall
Copy link

@futreall futreall commented Sep 30, 2025

The projects array type is inferred from the map result and then validated against Config["projects"] when assigning config: Config = { projects, ... }. If the shape were incompatible, TypeScript would raise an error. The explicit : any annotation disabled that check, so removing it keeps the strict typing without changing runtime behavior.

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have run yarn format and yarn lint without getting any errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant