Skip to content

Commit

Permalink
fix(@angular/cli): Angular Compiler CLI v5 requires TypeScript >= 2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sarunint authored and hansl committed Oct 27, 2017
1 parent 60c5817 commit ae53cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@angular/cli/upgrade/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class Version {
const versionCombos = [
{ compiler: '>=2.3.1 <3.0.0', typescript: '>=2.0.2 <2.3.0' },
{ compiler: '>=4.0.0 <5.0.0', typescript: '>=2.1.0 <2.4.0' },
{ compiler: '>=5.0.0 <6.0.0', typescript: '>=2.4.0 <2.5.0' }
{ compiler: '>=5.0.0 <6.0.0', typescript: '>=2.4.2 <2.5.0' }
];

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

0 comments on commit ae53cb1

Please sign in to comment.