File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
tests/legacy-cli/e2e/tests/misc Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,16 @@ import { updateJsonFile } from '../../utils/project';
3
3
4
4
export default async function ( ) {
5
5
// [email protected] is not part of the officially supported range in latest stable.
6
- let unsupportedTsVersion = '2.8.0-dev.20180320' ;
6
+ const unsupportedTsVersion = '2.8.0-dev.20180320' ;
7
7
8
8
await updateJsonFile ( 'src/tsconfig.app.json' , configJson => {
9
+ // skipLibCheck is required because declerations
10
+ // emitted in TS 3.1 are not compatable with TS 2.8
11
+ // Thus it will exit with a non zero error code.
12
+ configJson . compilerOptions = {
13
+ ...configJson . compilerOptions ,
14
+ skipLibCheck : true ,
15
+ } ;
9
16
configJson . angularCompilerOptions = {
10
17
...configJson . angularCompilerOptions ,
11
18
disableTypeScriptVersionCheck : true ,
You can’t perform that action at this time.
0 commit comments