From 8b4355518e1633fd3ac705efa86a409e695b77d6 Mon Sep 17 00:00:00 2001 From: UltraLionFr Date: Wed, 20 Aug 2025 18:18:49 +0200 Subject: [PATCH] update tsconfig.json --- tsconfig.json | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 9df8c5d..4302a03 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,27 +1,26 @@ { "compilerOptions": { - "target": "ES2017", + "target": "es2017", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, - "strict": true, - "noEmit": true, "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "bundler", + "moduleResolution": "node", // ✅ change "bundler" en "node" "resolveJsonModule": true, "isolatedModules": true, + "noEmit": true, "jsx": "preserve", "incremental": true, - "plugins": [ - { - "name": "next" - } - ], + "plugins": [{ "name": "next" }], "paths": { "@/*": ["./*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "app/api/paste/[id]/page.bak"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] }