mirror of
https://github.com/prdlk/leetcode.git
synced 2026-11-02 21:22:43 +00:00
15 lines
531 B
TypeScript
15 lines
531 B
TypeScript
// Islands and the Blume modules they import (blume/components/islands/
|
|
// base-path.ts) are bundled by Vite, which provides import.meta.env. Vite is
|
|
// Blume's dependency, not this workspace's, so its client types are not
|
|
// resolvable from here; this mirrors the slice of them (ImportMetaEnv) tsc needs.
|
|
interface ImportMeta {
|
|
readonly env: {
|
|
readonly [key: string]: unknown;
|
|
readonly BASE_URL: string;
|
|
readonly MODE: string;
|
|
readonly DEV: boolean;
|
|
readonly PROD: boolean;
|
|
readonly SSR: boolean;
|
|
};
|
|
}
|