electron-env.d.ts 311 B

12345678910111213141516
  1. declare namespace NodeJS {
  2. interface ProcessEnv {
  3. NODE_ENV: 'development' | 'test' | 'production'
  4. readonly VITE_DEV_SERVER_URL: string
  5. }
  6. interface Process {
  7. electronApp: import('node:child_process').ChildProcess
  8. }
  9. }
  10. interface ImportMeta {
  11. /** shims Vite */
  12. env: Record<string, any>
  13. }