diff options
author | 2022-02-18 22:07:52 +0000 | |
---|---|---|
committer | 2022-02-18 22:07:52 +0000 | |
commit | aaa61ff254ee424acd59d1b205b7551ee8cff696 (patch) | |
tree | edbd1c85894eee6f90b59f0b3dc83cda472a725c /examples/env-vars/src | |
parent | 39cbe5008549517d9360bc7c473793523c0c9207 (diff) | |
download | astro-aaa61ff254ee424acd59d1b205b7551ee8cff696.tar.gz astro-aaa61ff254ee424acd59d1b205b7551ee8cff696.tar.zst astro-aaa61ff254ee424acd59d1b205b7551ee8cff696.zip |
[ci] yarn format
Diffstat (limited to 'examples/env-vars/src')
-rw-r--r-- | examples/env-vars/src/env.d.ts | 4 | ||||
-rw-r--r-- | examples/env-vars/src/scripts/client.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/env-vars/src/env.d.ts b/examples/env-vars/src/env.d.ts index a1befd0f0..1cc8ccabc 100644 --- a/examples/env-vars/src/env.d.ts +++ b/examples/env-vars/src/env.d.ts @@ -1,10 +1,10 @@ /// <reference types="vite/client" /> interface ImportMetaEnv { - readonly DB_PASSWORD: string; + readonly DB_PASSWORD: string; readonly PUBLIC_SOME_KEY: string; } interface ImportMeta { - readonly env: ImportMetaEnv + readonly env: ImportMetaEnv; } diff --git a/examples/env-vars/src/scripts/client.ts b/examples/env-vars/src/scripts/client.ts index 05961d399..b01c6029e 100644 --- a/examples/env-vars/src/scripts/client.ts +++ b/examples/env-vars/src/scripts/client.ts @@ -6,4 +6,4 @@ // PUBLIC_SOME_KEY is available everywhere console.log({ SSR, PUBLIC_SOME_KEY }); -})() +})(); |