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

Function formatMessage

test/fixtures/snapshot/typescript.js:20058–20064  ·  view source on GitHub ↗
(_dummy, message)

Source from the content-addressed store, hash-verified

20056 }
20057 ts.createFileDiagnostic = createFileDiagnostic;
20058 function formatMessage(_dummy, message) {
20059 var text = getLocaleSpecificMessage(message);
20060 if (arguments.length > 2) {
20061 text = formatStringFromArgs(text, arguments, 2);
20062 }
20063 return text;
20064 }
20065 ts.formatMessage = formatMessage;
20066 function createCompilerDiagnostic(message) {
20067 var text = getLocaleSpecificMessage(message);

Callers

nothing calls this directly

Calls 2

getLocaleSpecificMessageFunction · 0.85
formatStringFromArgsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…