From 6d175aac30c181094322c06fc720acd7d7f0715f Mon Sep 17 00:00:00 2001 From: LuLaValva Date: Thu, 11 Jul 2024 08:44:44 -0700 Subject: [PATCH] feat(type-check): use .tsconfig options for printer --- packages/type-check/src/run.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/type-check/src/run.ts b/packages/type-check/src/run.ts index e06f7fb0..ec6d2049 100644 --- a/packages/type-check/src/run.ts +++ b/packages/type-check/src/run.ts @@ -351,7 +351,7 @@ export default function run(opts: Options) { const typeChecker = program.getTypeChecker(); const printer = ts.createPrinter({ noEmitHelpers: true, - removeComments: true, + ...options, }); writeFile = ( fileName,