ImportMetaEnv interface definition

This commit is contained in:
2024-05-24 16:42:51 -05:00
parent 5b7cbfe869
commit e1850d5279

10
src/env.d.ts vendored
View File

@@ -1,2 +1,12 @@
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />
interface ImportMetaEnv {
readonly PUBLIC_VERCEL_GIT_REPO_OWNER: string;
readonly PUBLIC_VERCEL_GIT_REPO_SLUG: string;
readonly PUBLIC_VERCEL_GIT_COMMIT_SHA: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}