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"
+ ]
}