Skip to content

Commit

Permalink
Update packages/tsc/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Danila Rodichkin <[email protected]>
  • Loading branch information
KazariEX and daniluk4000 authored Nov 25, 2024
1 parent 49c1772 commit 35b9536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tsc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 35b9536

Please sign in to comment.