MCPcopy Index your code
hub / github.com/nodejs/node / getLocaleSpecificMessage

Function getLocaleSpecificMessage

test/fixtures/snapshot/typescript.js:19972–19974  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

19970 }
19971 ts.maybeSetLocalizedDiagnosticMessages = maybeSetLocalizedDiagnosticMessages;
19972 function getLocaleSpecificMessage(message) {
19973 return localizedDiagnosticMessages && localizedDiagnosticMessages[message.key] || message.message;
19974 }
19975 ts.getLocaleSpecificMessage = getLocaleSpecificMessage;
19976 function createDetachedDiagnostic(fileName, start, length, message) {
19977 assertDiagnosticLocation(/*file*/ undefined, start, length);

Callers 5

createDetachedDiagnosticFunction · 0.85
createFileDiagnosticFunction · 0.85
formatMessageFunction · 0.85
createCompilerDiagnosticFunction · 0.85
chainDiagnosticMessagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…