Skip to content

Conversation

@spochoa
Copy link

@spochoa spochoa commented Nov 15, 2025

  • Changed voices initialization from {} to []
  • Added || [] fallbacks for synth.getVoices()
  • Added Array.isArray() check to guarantee array return
  • Prevents TypeError on .concat() calls

Fixes #2047

- Changed voices initialization from {} to []
- Added || [] fallbacks for synth.getVoices()
- Added Array.isArray() check to guarantee array return
- Prevents TypeError on .concat() calls

Fixes cboard-org#2047
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.

Wrong voices initial value definition on tts file

1 participant