Add Astro environment types
This commit is contained in:
8
astro/src/env.d.ts
vendored
Normal file
8
astro/src/env.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
interface ImportMetaEnv {
|
||||
readonly DIRECTUS_TOKEN: string;
|
||||
readonly DIRECTUS_URL: string;
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv;
|
||||
}
|
||||
Reference in New Issue
Block a user