mirror of
https://github.com/earendil-works/pi.git
synced 2026-10-02 00:35:27 +08:00
Replace the tsgo native preview with typescript@7.0.2 and port the check scripts to the TS 7 API. Target ES2024, drop useDefineForClassFields: false and unused decorator options, and enable verbatimModuleSyntax. Replace tsx with node plus the source resolver hook, passed to --import as a file URL. closes #9965
24 lines
554 B
JSON
24 lines
554 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2024",
|
|
"module": "Node16",
|
|
"lib": ["ES2024"],
|
|
"strict": true,
|
|
"erasableSyntaxOnly": true,
|
|
"verbatimModuleSyntax": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"inlineSources": true,
|
|
"inlineSourceMap": false,
|
|
"moduleResolution": "Node16",
|
|
"resolveJsonModule": true,
|
|
"allowImportingTsExtensions": true,
|
|
"rewriteRelativeImportExtensions": true,
|
|
"types": ["node"]
|
|
}
|
|
}
|