mirror of
https://github.com/luxwallet/ui.git
synced 2026-10-30 19:47:51 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so tsup's dts build cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. TS7 removed baseUrl and nothing here declared paths against it, so the setting just goes. Neutral on 6. 0 diagnostics before and after, on both compilers. Co-authored-by: Hanzo Dev <[email protected]>
31 lines
742 B
JSON
31 lines
742 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"jsx": "react-jsx",
|
|
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"exactOptionalPropertyTypes": false,
|
|
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"verbatimModuleSyntax": true,
|
|
"resolveJsonModule": true,
|
|
"noEmit": true,
|
|
|
|
"types": ["react"]
|
|
},
|
|
"include": ["src", "types"],
|
|
"exclude": ["dist", "node_modules"]
|
|
}
|