corrigindo erros do tsconfig.json

This commit is contained in:
Lucas Rodrigues 2025-09-25 12:05:46 -03:00
parent 10663c4528
commit b2eea0de6a
3 changed files with 14 additions and 16 deletions

6
package-lock.json generated
View File

@ -46,11 +46,11 @@
"geist": "^1.3.1", "geist": "^1.3.1",
"input-otp": "1.4.1", "input-otp": "1.4.1",
"lucide-react": "^0.454.0", "lucide-react": "^0.454.0",
"next": "14.2.16", "next": "^14.2.16",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
"react": "^18", "react": "^18.3.1",
"react-day-picker": "9.8.0", "react-day-picker": "9.8.0",
"react-dom": "^18", "react-dom": "^18.3.1",
"react-hook-form": "^7.60.0", "react-hook-form": "^7.60.0",
"react-resizable-panels": "^2.1.7", "react-resizable-panels": "^2.1.7",
"recharts": "2.15.4", "recharts": "2.15.4",

View File

@ -47,11 +47,11 @@
"geist": "^1.3.1", "geist": "^1.3.1",
"input-otp": "1.4.1", "input-otp": "1.4.1",
"lucide-react": "^0.454.0", "lucide-react": "^0.454.0",
"next": "14.2.16", "next": "^14.2.16",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
"react": "^18", "react": "^18.3.1",
"react-day-picker": "9.8.0", "react-day-picker": "9.8.0",
"react-dom": "^18", "react-dom": "^18.3.1",
"react-hook-form": "^7.60.0", "react-hook-form": "^7.60.0",
"react-resizable-panels": "^2.1.7", "react-resizable-panels": "^2.1.7",
"recharts": "2.15.4", "recharts": "2.15.4",
@ -71,4 +71,4 @@
"tw-animate-css": "1.3.3", "tw-animate-css": "1.3.3",
"typescript": "^5" "typescript": "^5"
} }
} }

View File

@ -1,25 +1,23 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext"], "lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true, "allowJs": true,
"target": "ES6",
"skipLibCheck": true, "skipLibCheck": true,
"strict": true, "strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true, "noEmit": true,
"esModuleInterop": true, "esModuleInterop": true,
"module": "esnext", "module": "esnext",
"moduleResolution": "bundler", "moduleResolution": "node",
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true, "isolatedModules": true,
"jsx": "preserve", "jsx": "preserve",
"incremental": true, "incremental": true,
"plugins": [ "plugins": [{ "name": "next" }],
{ "baseUrl": ".", // adiciona esta linha
"name": "next" "paths": { // adiciona esta linha
} "@/*": ["./*"] // e esta linha
],
"paths": {
"@/*": ["./*"]
} }
}, },
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],