Add ImportMetaEnv and ImportMeta interfaces for Vite environment variables (#1860)

This commit is contained in:
Alejandra
2025-09-08 13:33:16 +02:00
committed by GitHub
parent 6dbc9aa7b0
commit 67be5fa7a5

View File

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