mirror of
https://github.com/luxfi/financial.git
synced 2026-10-30 16:55:56 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so next 14/15 and @typescript-eslint cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. Five things the 6 line no longer accepts came with the bump. app/site targeted ES5, which is gone, so it targets ES2017. app/investor's side-effect import of globals.css needs an ambient declaration. base64ToBytes returns a Uint8Array<ArrayBuffer>, which is what Blob takes now. pkg/ui skips lib checks like every other project here. pkg/brand really does use process, Buffer and require, so it depends on @types/node and asks for it by name. Two diagnostics before and after, the same two under both compilers. Co-authored-by: Hanzo Dev <[email protected]>
29 lines
648 B
JSON
29 lines
648 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2017",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
"exclude": ["node_modules"]
|
|
}
|