From 772d9b3caa46e6f6b4e6b992a7e20f0e9d24d915 Mon Sep 17 00:00:00 2001 From: Lukas Prochazka Date: Tue, 7 Jan 2025 10:38:27 +0100 Subject: [PATCH] Add `preserve` option to `tsconfig.json` (#199) --- next-env.d.ts | 2 +- tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/next-env.d.ts b/next-env.d.ts index 40c3d680..1b3be084 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -2,4 +2,4 @@ /// // NOTE: This file should not be edited -// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information. +// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/tsconfig.json b/tsconfig.json index 96406ef8..b2c7532e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,8 @@ { "name": "next" } - ] + ], + "jsx": "preserve" }, "include": [ "**/*.ts",