Skip to content

Commit 7ca3bb5

Browse files
filipesilvaalexeagle
authored andcommitted
test: update typescript warning test unsupported version
The old version was failing to build against @angular/[email protected] with the error below: ``` ERROR in node_modules/@angular/core/src/di/injector.d.ts(67,70): error TS1005: ',' expected. ```
1 parent 208912f commit 7ca3bb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/legacy-cli/e2e/tests/misc/typescript-warning.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { ng, silentNpm } from '../../utils/process';
22
import { updateJsonFile } from '../../utils/project';
33

44
export default async function () {
5-
// typescript@2.8.0-dev.20180320 is not part of the officially supported range in latest stable.
6-
const unsupportedTsVersion = '2.8.0-dev.20180320';
5+
// typescript@3.0.1 is not part of the officially supported range in latest stable.
6+
const unsupportedTsVersion = '3.0.1';
77

88
await updateJsonFile('src/tsconfig.app.json', configJson => {
99
// skipLibCheck is required because declerations

0 commit comments

Comments
 (0)