Files
SearcjGal-frontend/env.d.ts
AdingApkgg a62ca55519 feat: 更新依赖项与优化组件样式
* 在 `package.json` 中添加 ESLint 相关依赖,增强代码质量管理。
* 更新 `index.html` 中的样式,移除图片懒加载的默认透明度设置,避免显示问题。
* 在 `App.vue` 和其他组件中优化代码格式,提升可读性和一致性。
* 更新 `env.d.ts` 文件,添加类型注释以支持 Vue 组件的类型定义。
* 在 `StatsCorner.vue` 中引入过渡效果,提升用户体验。
2025-11-20 15:57:39 +08:00

23 lines
538 B
TypeScript

/// <reference types="vite/client" />
declare module '*.vue' {
import type { DefineComponent } from 'vue'
// eslint-disable-next-line @typescript-eslint/no-empty-object-type, @typescript-eslint/no-explicit-any
const component: DefineComponent<{}, {}, any>
export default component
}
interface Window {
Pace: {
restart(): void
options: {
ajax?: boolean
document?: boolean
eventLag?: boolean
elements?: boolean
restartOnPushState?: boolean
restartOnRequestAfter?: boolean
}
}
}