mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 22:37:32 +00:00
[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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user