We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80c3edc commit 0b3e481Copy full SHA for 0b3e481
tests/e2e/tests/build/typescript/typescript-2_7.ts
@@ -1,6 +1,15 @@
1
import { ng, npm } from '../../../utils/process';
2
+import { updateJsonFile } from '../../../utils/project';
3
4
export default async function () {
5
+ // Disable the strict TS version check for nightly
6
+ await updateJsonFile('src/tsconfig.app.json', configJson => {
7
+ configJson.angularCompilerOptions = {
8
+ ...configJson.angularCompilerOptions,
9
+ disableTypeScriptVersionCheck: true,
10
+ };
11
+ });
12
+
13
await npm('install', '[email protected]');
14
await ng('build');
15
await ng('build', '--prod');
0 commit comments