Skip to content

Commit 46530b9

Browse files
hanslfilipesilva
authored andcommitted
fix(@angular/cli): show warning on TypeScript 2.5
It is not officially supported by Angular 5. Might be in 5.1 or above, and will revisit then.
1 parent 62c858c commit 46530b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export class Version {
167167
const versionCombos = [
168168
{ compiler: '>=2.3.1 <3.0.0', typescript: '>=2.0.2 <2.3.0' },
169169
{ compiler: '>=4.0.0 <5.0.0', typescript: '>=2.1.0 <2.4.0' },
170-
{ compiler: '>=5.0.0 <6.0.0', typescript: '>=2.4.0 <2.6.0' }
170+
{ compiler: '>=5.0.0 <6.0.0', typescript: '>=2.4.0 <2.5.0' }
171171
];
172172

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

0 commit comments

Comments
 (0)