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