diff --git a/susconecta/tsconfig.json b/susconecta/tsconfig.json index 48c9ec9..2d1779d 100644 --- a/susconecta/tsconfig.json +++ b/susconecta/tsconfig.json @@ -1,27 +1,25 @@ { "compilerOptions": { - "lib": ["dom", "dom.iterable", "esnext"], - "allowJs": true, - "target": "ES6", - "skipLibCheck": true, - "strict": true, - "noEmit": true, - "esModuleInterop": true, + "target": "ES2022", + "lib": ["dom", "dom.iterable", "es2022"], "module": "esnext", "moduleResolution": "bundler", + "strict": true, + "skipLibCheck": true, + "noEmit": true, + "allowJs": true, + "esModuleInterop": true, "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", "incremental": true, - "plugins": [ - { - "name": "next" - } - ], - "paths": { - "@/*": ["./*"] - } + "downlevelIteration": true, + "useDefineForClassFields": false, + "paths": { "@/*": ["./*"] }, + "plugins": [{ "name": "next" }] }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "lib/api.js"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] } + +