[PR #15748] Fix matches of multiple schemas on "colorScheme" #30722

Open
opened 2026-01-31 09:42:35 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/15748

State: closed
Merged: Yes


Adds proper type for SchemePair definition to avoid warnings about matches of multiple schemas.

Same fix as https://github.com/microsoft/terminal/pull/4045

Validation Steps Performed

  • Pointed $schema to local file instead of https://aka.ms/terminal-profiles-schema
  • Confirmed warning goes away when using a string
  • Confirmed using the light/dark object format still passes validation
  • Confirmed values like "colorScheme": 3 no longer incorrectly pass validation whereas they would before
**Original Pull Request:** https://github.com/microsoft/terminal/pull/15748 **State:** closed **Merged:** Yes --- Adds proper `type` for `SchemePair` definition to avoid warnings about matches of multiple schemas. Same fix as https://github.com/microsoft/terminal/pull/4045 ## Validation Steps Performed - Pointed $schema to local file instead of https://aka.ms/terminal-profiles-schema - Confirmed warning goes away when using a string - Confirmed using the light/dark object format still passes validation - Confirmed values like `"colorScheme": 3` no longer incorrectly pass validation whereas they would before
claunia added the pull-request label 2026-01-31 09:42:35 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30722