chore(frontend-dev): 🔧 Expand TypeScript interfaces for Vite environment variables to improve type safety
This commit is contained in:
parent
b385c1c53d
commit
53c07f09b7
1 changed files with 11 additions and 0 deletions
11
features/platform-dev/frontend-dev/src/vite-env.d.ts
vendored
Normal file
11
features/platform-dev/frontend-dev/src/vite-env.d.ts
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/// <reference types="vite/client" />
|
||||
|
||||
interface ImportMetaEnv {
|
||||
readonly VITE_SSO_URL?: string
|
||||
readonly VITE_MARKETPLACE_API_URL?: string
|
||||
readonly VITE_ANALYTICS_API_URL?: string
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue