From 35b95363ff8d580c73e8205d83574100f8e3da53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=B1=E5=90=B9=E8=89=B2=E5=BE=A1=E5=AE=88?= <85992002+KazariEX@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:04:01 +0800 Subject: [PATCH] Update packages/tsc/index.ts Co-authored-by: Danila Rodichkin --- packages/tsc/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tsc/index.ts b/packages/tsc/index.ts index 7dc660ed03..96c2ccacf5 100644 --- a/packages/tsc/index.ts +++ b/packages/tsc/index.ts @@ -51,7 +51,7 @@ export function run(tscPath = getTscPath()) { function getTscPath() { const version = require('typescript/package.json').version as string; - if (semver.gte(version, '5.7.2')) { + if (semver.gte(version, '5.7')) { return require.resolve('typescript/lib/_tsc'); } else {