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

Function cleanNewLines

packages/compiler-cli/test/ngtsc/debug_transform_spec.ts:33–35  ·  view source on GitHub ↗
(contents: string)

Source from the content-addressed store, hash-verified

31};
32
33function cleanNewLines(contents: string) {
34 return contents.replace(/\s*\n\s*/g, ' ');
35}
36
37runInEachFileSystem(() => {
38 describe('Debug Info Typescript tranformation', () => {

Callers 1

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…