You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vitepress/lib/shim.d.ts

20 lines
388 B

declare const __DEV__: boolean
declare module "*.vue" {
import { ComponentOptions } from 'vue'
const comp: ComponentOptions
export default comp
}
declare module "@siteData" {
const data: string
export default data
}
declare module "@hmr" {
export declare const hot: {
accept(path: string, cb: (module: any) => void)
on(event: string, cb: (data: any) => void)
}
}