From a038e281db65e1650e40d154cef139326e212ad5 Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Wed, 25 Feb 2026 15:54:15 +1100 Subject: [PATCH] Add TypeScript config for Astro website Add tsconfig.json extending astro/tsconfigs/base and env.d.ts with Astro client type references to resolve import.meta.env type errors. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- website/src/env.d.ts | 1 + website/tsconfig.json | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 website/src/env.d.ts create mode 100644 website/tsconfig.json diff --git a/website/src/env.d.ts b/website/src/env.d.ts new file mode 100644 index 00000000..f964fe0c --- /dev/null +++ b/website/src/env.d.ts @@ -0,0 +1 @@ +/// diff --git a/website/tsconfig.json b/website/tsconfig.json new file mode 100644 index 00000000..d78f81ec --- /dev/null +++ b/website/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "astro/tsconfigs/base" +}