refactor: ♻️ 调整类型声明文件路径至 src/typingselement-plus 保持一致

This commit is contained in:
hxr
2023-11-26 23:58:21 +08:00
parent bd4e2d62ac
commit b4ff6fcd38
8 changed files with 3 additions and 3 deletions

20
types/env.d.ts vendored
View File

@@ -1,20 +0,0 @@
/// <reference types="vite/client" />
declare module "*.vue" {
import { DefineComponent } from "vue";
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
const component: DefineComponent<{}, {}, any>;
export default component;
}
interface ImportMetaEnv {
/** 应用端口 */
VITE_APP_PORT: string;
/** API 基础路径 */
VITE_APP_BASE_API: string;
VITE_APP_API_URL: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}