From a1267da33fcb604c4d7a18dc1786f893337e9a28 Mon Sep 17 00:00:00 2001 From: bluenex Date: Sun, 12 May 2024 20:12:47 +0700 Subject: [PATCH] build: edit tsconfig --- next-env.d.ts | 1 + tsconfig.json | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/next-env.d.ts b/next-env.d.ts index 4f11a03..fd36f94 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,5 +1,6 @@ /// /// +/// // NOTE: This file should not be edited // see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/tsconfig.json b/tsconfig.json index c974dff..25afebe 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,10 +17,16 @@ "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "incremental": true + "incremental": true, + "plugins": [ + { + "name": "next" + } + ] }, "include": [ "next-env.d.ts", + ".next/types/**/*.ts", "**/*.ts", "**/*.tsx", "lib/predev.js"