Skip to content

fix(types): derive config language union from available locales - #101

Merged
teuchezh merged 1 commit into
devfrom
fix/language-type-union
Jul 9, 2026
Merged

fix(types): derive config language union from available locales#101
teuchezh merged 1 commit into
devfrom
fix/language-type-union

Conversation

@teuchezh

@teuchezh teuchezh commented Jul 9, 2026

Copy link
Copy Markdown
Owner

The language union in WeatherCardConfig/ConfigInput was hardcoded to the pre-July language list and rejected pt/da/sr/pl at the type level. Now derived from the generated SupportedLanguage union, so new locales are picked up automatically. Type-only change — bundle unaffected.

🤖 Generated with Claude Code

The hardcoded list in WeatherCardConfig/ConfigInput predated the generated
locale index and rejected pt/da/sr/pl at the type level.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@teuchezh
teuchezh merged commit 9f919d7 into dev Jul 9, 2026
3 checks passed
@teuchezh
teuchezh deleted the fix/language-type-union branch July 9, 2026 13:31
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