refactor(frontend): 优化配置和类型定义

- 更新 ESLint 配置
- 优化 Vue 类型声明文件
This commit is contained in:
fawney19
2025-12-12 20:22:22 +08:00
parent 380fd1c4d4
commit 9fa093c96c
2 changed files with 41 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
const component: DefineComponent<{}, {}, unknown>
export default component
}
}