From a3d539d1e274df53b96ea506605508a5a489463e Mon Sep 17 00:00:00 2001 From: rakia Date: Sun, 31 Aug 2025 12:05:52 +0300 Subject: [PATCH] modified next-env ve tsconfig files --- next-env.d.ts | 3 ++- tsconfig.json | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/next-env.d.ts b/next-env.d.ts index 4f11a03..830fb59 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. +// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/tsconfig.json b/tsconfig.json index c04b195..ad25482 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -32,13 +32,13 @@ // "node_modules" // ] // } - - { "compilerOptions": { "baseUrl": ".", "paths": { - "@/*": ["src/*"] + "@/*": [ + "src/*" + ] }, "lib": [ "dom", @@ -60,7 +60,8 @@ { "name": "next" } - ] + ], + "target": "ES2017" }, "include": [ "next-env.d.ts", @@ -72,4 +73,3 @@ "node_modules" ] } -