mirror of
https://github.com/Moe-Sakura/frontend.git
synced 2026-03-19 05:39:45 +08:00
* 在 `package.json` 中添加 ESLint 相关依赖,增强代码质量管理。 * 更新 `index.html` 中的样式,移除图片懒加载的默认透明度设置,避免显示问题。 * 在 `App.vue` 和其他组件中优化代码格式,提升可读性和一致性。 * 更新 `env.d.ts` 文件,添加类型注释以支持 Vue 组件的类型定义。 * 在 `StatsCorner.vue` 中引入过渡效果,提升用户体验。
23 lines
538 B
TypeScript
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
|
|
}
|
|
}
|
|
}
|