mirror of
https://github.com/luxfi/tel.git
synced 2026-10-30 15:15:54 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so next 15 cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for next. baseUrl is gone in 7, so the @/* paths are now relative to the tsconfig, and the CSS side-effect imports get an ambient declaration. 2 diagnostics before, 1 after, the same under both compilers. Co-authored-by: Hanzo Dev <[email protected]>
30 lines
650 B
JSON
30 lines
650 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"incremental": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"noEmit": true,
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
},
|
|
"plugins": [{ "name": "next" }]
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
".next/types/**/*.ts",
|
|
"src/**/*.ts",
|
|
"src/**/*.tsx"
|
|
],
|
|
"exclude": ["node_modules"]
|
|
}
|