aboutsummaryrefslogtreecommitdiff
path: root/doc/docs/.vitepress/env.d.ts
blob: 0f288522e3556f1828dd6d653eaa4fb232177705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/// <reference types="vitepress/client" />

declare module '*.vue' {
  import type { DefineComponent } from 'vue'
  const component: DefineComponent<{}, {}, any>
  export default component
}

declare global {
  interface Window {
    yue?: {
      version: () => string
      tolua: (code: string, ...args: unknown[]) => [string, string]
      exec: (code: string) => string
    }
  }
}

export {}