File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -441,6 +441,15 @@ <h2>--experimental-strip-types</h2>
441441 // https://www.typescriptlang.org/tsconfig/#erasableSyntaxOnly
442442 // LONG STORY SHORT (as of 21 Jan 2026) still use --experimental‑transform‑types and it is (semi) safe to use since LTS v22.18.0
443443
444+ // add to tsconfig.json
445+ // for --experimental-strip-types // https://nodejs.org/api/typescript.html#type-stripping
446+ "noEmit" : true , // Optional - see note below
447+ "target" : "ESNext" ,
448+ "module" : "NodeNext" ,
449+ "rewriteRelativeImportExtensions" : true ,
450+ "erasableSyntaxOnly" : true ,
451+ "verbatimModuleSyntax" : true
452+
444453 // WARNING: GOOD EXAMPLE HOW TO WORK WITH --experimental-transform-types: https://github.com/stopsopa/kafka/tree/experimental-transform-types
445454
446455
You can’t perform that action at this time.
0 commit comments