metatron-open-seo/src/types/vite-env.d.ts

17 lines
403 B
TypeScript

/// <reference types="vite/client" />
interface ViteTypeOptions {
// By adding this line, you can make the type of ImportMetaEnv strict
// to disallow unknown keys.
strictImportMetaEnv: unknown;
}
interface ImportMetaEnv {
readonly VITE_SHOW_DEVTOOLS?: string;
readonly BYPASS_EMAIL_VERIFICATION?: string;
// more env variables...
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}