env.d.ts 403 字节
Newer Older
L
LeoKu 已提交
1 2 3
/// <reference types="vite/client" />

declare module '*.vue' {
L
LeoKu 已提交
4
  import { type DefineComponent } from 'vue'
L
LeoKu 已提交
5 6 7 8
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
  const component: DefineComponent<{}, {}, any>
  export default component
}
L
LeoKu 已提交
9 10 11

interface Window {
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
L
LeoKu 已提交
12
  gtag: (...params: any[]) => void
L
LeoKu 已提交
13
}