Skip to content

Commit c82231e

Browse files
saruninthansl
authored andcommitted
fix(@angular/cli): Angular Compiler CLI v5 requires TypeScript >= 2.4.2
1 parent f1b94fc commit c82231e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@angular/cli/upgrade/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class Version {
169169
const versionCombos = [
170170
{ compiler: '>=2.3.1 <3.0.0', typescript: '>=2.0.2 <2.3.0' },
171171
{ compiler: '>=4.0.0 <5.0.0', typescript: '>=2.1.0 <2.4.0' },
172-
{ compiler: '>=5.0.0 <6.0.0', typescript: '>=2.4.0 <2.5.0' }
172+
{ compiler: '>=5.0.0 <6.0.0', typescript: '>=2.4.2 <2.5.0' }
173173
];
174174

175175
const currentCombo = versionCombos.find((combo) => satisfies(compilerVersion, combo.compiler));

0 commit comments

Comments
 (0)