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

Function createMessageDiagnostic

packages/compiler-cli/src/transformers/util.ts:17–27  ·  view source on GitHub ↗
(messageText: string)

Source from the content-addressed store, hash-verified

15}
16
17export function createMessageDiagnostic(messageText: string): ts.Diagnostic {
18 return {
19 file: undefined,
20 start: undefined,
21 length: undefined,
22 category: ts.DiagnosticCategory.Message,
23 messageText,
24 code: DEFAULT_ERROR_CODE,
25 source: SOURCE,
26 };
27}
28
29/**
30 * Strip multiline comment start and end markers from the `commentText` string.

Callers 3

doCompilationFunction · 0.90
recompileFunction · 0.90
performCompilationFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…