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';
33
44export default async function ( ) {
55 // typescript@2.8.0-dev.20180320 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' ;
77
88 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+ } ;
916 configJson . angularCompilerOptions = {
1017 ...configJson . angularCompilerOptions ,
1118 disableTypeScriptVersionCheck : true ,
You can’t perform that action at this time.
0 commit comments