Skip to content

Commit

Permalink
fix: correct version
Browse files Browse the repository at this point in the history
  • Loading branch information
KazariEX committed Nov 26, 2024
1 parent 35b9536 commit 5a02a5e
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')) {
if (semver.gte(version, '5.7.0')) {
return require.resolve('typescript/lib/_tsc');
}
else {
Expand Down

0 comments on commit 5a02a5e

Please sign in to comment.