feat: 添加 ts 类型
parent
7835740159
commit
7930ec5dab
@ -1,3 +1,4 @@
|
||||
# Glob API URL
|
||||
VITE_GLOB_API_URL=/api
|
||||
VITE_APP_API_BASE_URL = http://localhost:3002/
|
||||
|
||||
VITE_APP_API_BASE_URL=http://localhost:3002/
|
||||
|
@ -1,6 +1,6 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
interface ImportMetaEnv {
|
||||
/** api url */
|
||||
readonly VITE_GLOB_API_URL: string;
|
||||
readonly VITE_APP_API_BASE_URL: string;
|
||||
}
|
||||
|
Loading…
Reference in New Issue