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

Function extractMessage

packages/compiler-cli/test/ngtsc/authoring_models_spec.ts:17–19  ·  view source on GitHub ↗
(diag: ts.Diagnostic)

Source from the content-addressed store, hash-verified

15const testFiles = loadStandardTestFiles();
16
17function extractMessage(diag: ts.Diagnostic) {
18 return typeof diag.messageText === 'string' ? diag.messageText : diag.messageText.messageText;
19}
20
21runInEachFileSystem(() => {
22 describe('initializer-based model() API', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected