15 lines
247 B
TypeScript
15 lines
247 B
TypeScript
|
|
|
|
// @ts-expect-error use import var
|
|
export const env: envProps = import.meta.env
|
|
|
|
|
|
interface envProps {
|
|
BASE_URL: string,
|
|
DEV: boolean,
|
|
MODE: string,
|
|
PROD: boolean,
|
|
VITE_APP_NAME: string,
|
|
VITE_REGISTER_DISABLED: string,
|
|
}
|