[bugfix] Simplify pluginI18n type assertion to use 'as any'

Replace complex double type assertion with simpler 'as any' for better readability while maintaining type safety for the config object.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
snomiao
2025-10-29 09:55:56 +00:00
parent 53754bf99b
commit 4ee91e1244

View File

@@ -98,7 +98,7 @@ export default defineConfig([
{
plugins: {
'unused-imports': unusedImports,
'@intlify/vue-i18n': pluginI18n as unknown as typeof unusedImports
'@intlify/vue-i18n': pluginI18n as any
},
rules: {
'@typescript-eslint/no-floating-promises': 'error',