1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-18 15:59:16 +08:00

Add ImportMeta type definition (#7481)

This commit is contained in:
ZhaoJiSen 2024-12-20 15:32:58 +08:00 committed by GitHub
parent ea7e92db84
commit e06541984f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,2 +1,11 @@
/// <reference types="vite/client" />
/// <reference types="vite-svg-loader" />
interface ImportMetaEnv {
readonly VITE_API_URL: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}