From 4ee91e12448e12154520dfa37ebf792da1cb4189 Mon Sep 17 00:00:00 2001 From: snomiao Date: Wed, 29 Oct 2025 09:55:56 +0000 Subject: [PATCH] [bugfix] Simplify pluginI18n type assertion to use 'as any' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- eslint.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eslint.config.ts b/eslint.config.ts index ed20cd1fa..a28b57073 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -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',