We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
maybeSetLocalizedDiagnosticMessages
1 parent 8d9fa68 commit c240380Copy full SHA for c240380
src/compiler/utilities.ts
@@ -5927,6 +5927,8 @@ namespace ts {
5927
}
5928
5929
/* @internal */
5930
+ // If the localized messages json is unset, and if given function use it to set the json
5931
+
5932
export function maybeSetLocalizedDiagnosticMessages(getMessages: undefined | (() => typeof localizedDiagnosticMessages)) {
5933
if (!localizedDiagnosticMessages && getMessages) {
5934
localizedDiagnosticMessages = getMessages();
0 commit comments