chore: initial baseline with P0-safety .gitignore
This commit is contained in:
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
// =============================================================================
|
||||
// 企微IT智能服务台 — 环境类型声明
|
||||
// =============================================================================
|
||||
// 说明:声明 .vue 文件的模块类型,让 TypeScript 能识别 .vue 文件
|
||||
// =============================================================================
|
||||
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
// 声明 .vue 文件模块类型
|
||||
declare module '*.vue' {
|
||||
import type { DefineComponent } from 'vue'
|
||||
const component: DefineComponent<{}, {}, any>
|
||||
export default component
|
||||
}
|
||||
|
||||
// 声明 element-plus 语言包模块类型
|
||||
declare module 'element-plus/dist/locale/zh-cn.mjs'
|
||||
|
||||
// 扩展 Window 接口,添加 navigator(用于 clipboard 操作)
|
||||
interface Window {
|
||||
navigator: Navigator
|
||||
}
|
||||
Reference in New Issue
Block a user