From 967fb03d4014f862353cb110eefbede78304045c Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Mon, 26 Jan 2026 15:55:52 -0500 Subject: Use Node native TypeScript elision See https://nodejs.org/api/typescript.html#type-stripping --- tsconfig.json | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'tsconfig.json') 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 + } } -- cgit v1.3.1