mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-30 06:19:45 +08:00
26 lines
589 B
TypeScript
26 lines
589 B
TypeScript
/**
|
|
* @file vite-env.d.ts
|
|
* @description 全局类型定义文件
|
|
* @since Beta v0.7.6
|
|
*/
|
|
|
|
/**
|
|
* @description vue 文件类型声明
|
|
*/
|
|
declare module "*.vue" {
|
|
import type { defineComponent } from "vue";
|
|
const component: ReturnType<typeof defineComponent>;
|
|
export default component;
|
|
}
|
|
|
|
declare type ImportMeta = { readonly env: { MODE: string } };
|
|
|
|
declare interface TauriProcessEnv extends NodeJS.ProcessEnv {
|
|
TAURI_ARCH?: string;
|
|
TAURI_DEBUG?: boolean;
|
|
TAURI_FAMILY?: string;
|
|
TAURI_KEY_PASSWORD?: string;
|
|
TAURI_PLATFORM?: string;
|
|
TAURI_PLATFORM_TYPE?: string;
|
|
}
|