chore: initial baseline with P0-safety .gitignore

This commit is contained in:
Simon
2026-06-14 16:49:18 +08:00
commit 63262292d7
510 changed files with 146008 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
/// <reference types="vite/client" />
// Element Plus 语言包类型声明
declare module 'element-plus/dist/locale/zh-cn.mjs' {
import type { Language } from 'element-plus/es/locale'
const zhCn: Language
export default zhCn
}
// Vue 单文件组件类型声明
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<object, object, unknown>
export default component
}
// Vite 环境变量类型声明
interface ImportMetaEnv {
readonly VITE_API_BASE_URL: string
readonly VITE_APP_TITLE: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}