You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
463 B
TypeScript
19 lines
463 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
declare module '*.vue' {
|
|
import type { DefineComponent } from 'vue'
|
|
const component: DefineComponent<{}, {}, any>
|
|
export default component
|
|
}
|
|
|
|
declare module 'vite-plugin-mock' {
|
|
import type { Plugin } from 'vite'
|
|
interface ViteMockOptions {
|
|
mockDir?: string
|
|
localEnabled?: boolean
|
|
prodEnabled?: boolean
|
|
injectCode?: string
|
|
}
|
|
export function viteMockServe(options: ViteMockOptions): Plugin
|
|
}
|