diff options
| author | Joe Mou <dev@mou.fo> | 2026-01-26 15:55:52 -0500 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-01-26 17:23:43 -0500 |
| commit | 967fb03d4014f862353cb110eefbede78304045c (patch) | |
| tree | 22c045b56a0db1ab85a3e1164864cd441a57cfc3 /tsconfig.json | |
| parent | bd28d92a9800ad5b2d66b2a5491f58a7e76a5feb (diff) | |
Use Node native TypeScript elision
See https://nodejs.org/api/typescript.html#type-stripping
Diffstat (limited to 'tsconfig.json')
| -rw-r--r-- | tsconfig.json | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/tsconfig.json b/tsconfig.json index c2f75c1..2e9fe6a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,19 +1,12 @@ { "compilerOptions": { - "target": "ES2024", + "target": "ESNext", "module": "NodeNext", - "moduleResolution": "NodeNext", - "lib": ["ES2024"], - "outDir": "./build", - "rootDir": "./src", + "lib": ["ESNext"], + "noEmit": true, "strict": true, - "esModuleInterop": true, - "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, - "resolveJsonModule": true, - "allowSyntheticDefaultImports": true, - "types": ["node"] - }, - "include": ["src/**/*"], - "exclude": ["node_modules", "build"] + "erasableSyntaxOnly": true, + "rewriteRelativeImportExtensions": true, + "verbatimModuleSyntax": true + } } |
