MCPcopy Create free account
hub / github.com/angular/angular / inPlaceOutputs

Function inPlaceOutputs

packages/compiler-cli/preprocessor/test/ngp_spec.ts:233–236  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

231
232 /** The `.ng.ts`, `.ng.ts.map` and `.ngtypecheck.ts` paths NGP writes in-place for `name`. */
233 const inPlaceOutputs = (name: string) => {
234 const base = path.join(tempDir, name.replace(/\.ts$/, ''));
235 return [`${base}.ng.ts`, `${base}.ng.ts.map`, `${base}.ngtypecheck.ts`];
236 };
237
238 afterEach(async () => {
239 if (tempDir) {

Callers 1

ngp_spec.tsFile · 0.85

Calls 2

joinMethod · 0.65
replaceMethod · 0.45

Tested by

no test coverage detected