MCPcopy Create free account
hub / github.com/angular/components / patchLogService

Function patchLogService

tools/dgeni/patch-log-service.ts:16–26  ·  view source on GitHub ↗
(log: any)

Source from the content-addressed store, hash-verified

14 * through mixin functions and will be stored as a constant.
15 */
16export function patchLogService(log: any) {
17 const _warnFn = log.warn;
18
19 log.warn = function (message: string) {
20 if (message.includes('Unresolved TypeScript symbol') && mixinNameRegex.test(message)) {
21 return;
22 }
23
24 _warnFn.apply(log, [message]);
25 };
26}

Callers 1

docs-package.tsFile · 0.90

Calls 1

applyMethod · 0.65

Tested by

no test coverage detected