9bb416de16474e543e1afbb40a86cd2471b6026b7d16f1cd5bbf045d4e262f9a6d3681f3da67c3dde556fe7443c5a9c541bde3e6300ca3006809bca63c3c8a 652 B

1234567891011121314151617181920212223242526
  1. // This file is an augmentation to the built-in ImportMeta interface
  2. // Thus cannot contain any top-level imports
  3. // <https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation>
  4. interface ImportMetaEnv {
  5. [key: string]: any
  6. BASE_URL: string
  7. MODE: string
  8. DEV: boolean
  9. PROD: boolean
  10. SSR: boolean
  11. }
  12. interface ImportMeta {
  13. url: string
  14. readonly hot?: import('./hot').ViteHotContext
  15. readonly env: ImportMetaEnv
  16. glob: import('./importGlob').ImportGlobFunction
  17. /**
  18. * @deprecated Use `import.meta.glob('*', { eager: true })` instead
  19. */
  20. globEager: import('./importGlob').ImportGlobEagerFunction
  21. }