[PR #30694] refactor(web): remove unused type alias VoiceLanguageKey #32922

Closed
opened 2026-02-21 20:52:20 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/30694

State: closed
Merged: Yes


Summary

Remove unused type alias VoiceLanguageKey and its unused import I18nKeysWithPrefix from param-config-content.tsx.

Why

  • The type alias VoiceLanguageKey was declared but never used
  • Detected by npx oxlint
  • Clean up codebase by removing unused code

Test plan

  • pnpm lint:fix passes
  • pnpm type-check:tsgo passes
  • All 9449 frontend tests pass

Part of #25189

**Original Pull Request:** https://github.com/langgenius/dify/pull/30694 **State:** closed **Merged:** Yes --- ## Summary Remove unused type alias `VoiceLanguageKey` and its unused import `I18nKeysWithPrefix` from `param-config-content.tsx`. ## Why - The type alias `VoiceLanguageKey` was declared but never used - Detected by `npx oxlint` - Clean up codebase by removing unused code ## Test plan - [x] `pnpm lint:fix` passes - [x] `pnpm type-check:tsgo` passes - [x] All 9449 frontend tests pass Part of #25189
yindo added the pull-request label 2026-02-21 20:52:20 -05:00
yindo closed this issue 2026-02-21 20:52:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#32922