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 | fee5c6f6438316a8d407699370729ac2d0abd9d1 (patch) | |
| tree | b1f7eccd44beae5939d452bcdb741f081c5a67e2 /cgithub/tsconfig.json | |
| parent | d91b89f89bd7dcf3258dc5802d6a97c5e341e272 (diff) | |
Use Node native TypeScript elision
See https://nodejs.org/api/typescript.html#type-stripping
Diffstat (limited to 'cgithub/tsconfig.json')
| -rw-r--r-- | cgithub/tsconfig.json | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/cgithub/tsconfig.json b/cgithub/tsconfig.json index c2f75c1..2e9fe6a 100644 --- a/cgithub/tsconfig.json +++ b/cgithub/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 + } } |
