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.
19 lines
487 B
19 lines
487 B
/// <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;
|
|
}
|
|
|
|
// 环境变量 TypeScript的智能提示
|
|
interface ImportMetaEnv {
|
|
VITE_APP_TITLE: string;
|
|
VITE_APP_PORT: string;
|
|
VITE_APP_BASE_API: string;
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|
|
|