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]>
28 lines
708 B
JSON
28 lines
708 B
JSON
{
|
|
"baseUrl": ".",
|
|
"include": ["src"],
|
|
"exclude": ["node_modules", "lib"],
|
|
"compilerOptions": {
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"skipLibCheck": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"outDir": "lib/esm",
|
|
"lib": ["es6", "dom", "es2016", "es2017"],
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"jsx": "react",
|
|
"noUnusedLocals": true,
|
|
// "noUnusedParameters": true,
|
|
"esModuleInterop": true,
|
|
// "noImplicitReturns": true,
|
|
"noImplicitThis": true,
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"types": [],
|
|
},
|
|
} |