-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
35 lines (34 loc) · 995 Bytes
/
Copy pathtsconfig.json
File metadata and controls
35 lines (34 loc) · 995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"compilerOptions": {
"target": "es2022", // Next.js 16+ recommends es2022 is safer & faster
"lib": ["dom", "dom.iterable", "es2022"],
"allowJs": true,
"skipLibCheck": true, // This line alone fixes ALL Solana type errors
"strict": true,
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"module": "esnext",
"moduleResolution": "bundler", // Next.js 16+ official recommendation (works identically to "node")
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"forceConsistentCasingInFileNames": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts" // Required by Next.js 13+
],
"exclude": ["node_modules", "Solana-Anchor", "scripts"]
}