MCPcopy Index your code
hub / github.com/angular/angular / writeSomeConfigs

Function writeSomeConfigs

packages/compiler-cli/test/perform_compile_spec.ts:25–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 });
24
25 function writeSomeConfigs() {
26 support.writeFiles({
27 'tsconfig-level-1.json': `{
28 "extends": "./tsconfig-level-2.json",
29 "angularCompilerOptions": {
30 "annotateForClosureCompiler": true
31 }
32 }
33 `,
34 'tsconfig-level-2.json': `{
35 "extends": "./tsconfig-level-3.json",
36 "angularCompilerOptions": {
37 "skipMetadataEmit": true
38 }
39 }
40 `,
41 'tsconfig-level-3.json': `{
42 "angularCompilerOptions": {
43 "annotateForClosureCompiler": false,
44 "annotationsAs": "decorators"
45 }
46 }
47 `,
48 });
49 }
50
51 it('should merge tsconfig "angularCompilerOptions"', () => {
52 writeSomeConfigs();

Callers 1

Calls 1

writeFilesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…