mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-19 22:30:23 +00:00
ES modules work better with TypeScript than CommonJS modules do.
Assisted-by: GPT 5.6 Luna & Terra (Codex)
(cherry picked from commit eb501c45ae)
27 lines
517 B
JSON
27 lines
517 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"es2024",
|
|
"ESNext.Array",
|
|
"ESNext.Collection",
|
|
"ESNext.Error",
|
|
"ESNext.Iterator",
|
|
"ESNext.Promise"
|
|
],
|
|
"module": "nodenext",
|
|
"target": "es2024",
|
|
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"moduleResolution": "nodenext",
|
|
|
|
"allowImportingTsExtensions": true,
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"erasableSyntaxOnly": true,
|
|
"verbatimModuleSyntax": true,
|
|
"noEmit": true,
|
|
}
|
|
}
|