From b596a60154a0f2a6345244a90868b5cc67eb9ff8 Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Sat, 22 Apr 2023 15:07:11 +0800 Subject: [PATCH] chore(vue-tsc): don't block `--composite`, `--incremental` --- packages/vue-tsc/src/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/vue-tsc/src/index.ts b/packages/vue-tsc/src/index.ts index 587f83f3e9..9391e702ac 100644 --- a/packages/vue-tsc/src/index.ts +++ b/packages/vue-tsc/src/index.ts @@ -22,9 +22,6 @@ export function createProgram(options: ts.CreateProgramOptions) { if (!options.options.noEmit && options.options.noEmitOnError) throw toThrow('noEmitOnError is not supported'); - if (options.options.composite || options.options.incremental) - throw toThrow('composite / incremental is not supported'); - if (options.options.extendedDiagnostics || options.options.generateTrace) throw toThrow('--extendedDiagnostics / --generateTrace is not supported, please run `Write Virtual Files` in VSCode to write virtual files and use `--extendedDiagnostics` / `--generateTrace` via tsc instead of vue-tsc to debug.');