From 1f1476b56a7afc4ec8fedaab725db1e5847f4175 Mon Sep 17 00:00:00 2001 From: "Ben Scholzen (DASPRiD)" Date: Fri, 14 Aug 2026 13:10:45 +0200 Subject: [PATCH] feat(skeleton): source Temporal types from TypeScript lib entries temporal-polyfill 1.x no longer declares global types on its runtime entry, and TypeScript 6+ ships the Temporal proposal's declarations as ESNext.Temporal, ESNext.Intl and ESNext.Date. Set those in the skeleton's lib (restating the base entries, since extends replaces the array wholesale) and drop the polyfill types reference from vite-env.d.ts. --- skeleton/src/vite-env.d.ts.liquid | 1 - skeleton/tsconfig.json | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/skeleton/src/vite-env.d.ts.liquid b/skeleton/src/vite-env.d.ts.liquid index 0dd2245..ec30a50 100644 --- a/skeleton/src/vite-env.d.ts.liquid +++ b/skeleton/src/vite-env.d.ts.liquid @@ -1,5 +1,4 @@ /// -/// interface ImportMetaEnv { readonly VITE_APP_API_ENDPOINT: string; diff --git a/skeleton/tsconfig.json b/skeleton/tsconfig.json index b65db34..d9c9040 100644 --- a/skeleton/tsconfig.json +++ b/skeleton/tsconfig.json @@ -2,6 +2,7 @@ "extends": ["@tsconfig/vite-react/tsconfig.json"], "compilerOptions": { "noImplicitAny": true, + "lib": ["ES2023", "DOM", "ESNext.Temporal", "ESNext.Intl", "ESNext.Date"], "paths": { "#/*": ["./src/*"] }