From 1bad176067db79f4d46ad054159cdf5c2398f16f Mon Sep 17 00:00:00 2001 From: celine Date: Mon, 24 Nov 2025 19:27:40 -0500 Subject: [PATCH] updates --- next-env.d.ts | 2 +- tsconfig.json | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/next-env.d.ts b/next-env.d.ts index 830fb594..c4b7818f 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -/// +import "./.next/dev/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/tsconfig.json b/tsconfig.json index 23ebaecd..43324c37 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,13 @@ { "compilerOptions": { - "lib": ["dom", "dom.iterable", "esnext"], - "types": ["@cloudflare/workers-types"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "types": [ + "@cloudflare/workers-types" + ], "baseUrl": ".", "allowJs": true, "skipLibCheck": true, @@ -15,7 +21,7 @@ "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "plugins": [ { "name": "next" @@ -30,7 +36,10 @@ "**/*.js", "**/*.ts", "**/*.tsx", - "**/*.mdx" + "**/*.mdx", + ".next/dev/types/**/*.ts" ], - "exclude": ["node_modules"] + "exclude": [ + "node_modules" + ] } -- 2.51.2