Skip to content

Commit

Permalink
feat(@angular/cli): update TypeScript version check for Angular 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
clydin authored and filipesilva committed Mar 21, 2018
1 parent ab8ceb2 commit 2ee7e9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@angular/cli/upgrade/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ export class Version {
{ compiler: '>=4.0.0 <5.0.0', typescript: '>=2.1.0 <2.4.0' },
{ compiler: '>=5.0.0 <5.1.0', typescript: '>=2.4.2 <2.5.0' },
{ compiler: '>=5.1.0 <5.2.0', typescript: '>=2.4.2 <2.6.0' },
{ compiler: '>=5.2.0 <6.0.0', typescript: '>=2.4.2 <2.7.0' }
{ compiler: '>=5.2.0 <6.0.0', typescript: '>=2.4.2 <2.7.0' },
{ compiler: '>=6.0.0-beta.0 <7.0.0', typescript: '>=2.7.0 <2.8.0' },
];

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

0 comments on commit 2ee7e9c

Please sign in to comment.