Skip to content

Commit c240380

Browse files
committed
Add a comment to maybeSetLocalizedDiagnosticMessages
(Should have included it in the previous PR but missed it...)
1 parent 8d9fa68 commit c240380

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/compiler/utilities.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5927,6 +5927,8 @@ namespace ts {
59275927
}
59285928

59295929
/* @internal */
5930+
// If the localized messages json is unset, and if given function use it to set the json
5931+
59305932
export function maybeSetLocalizedDiagnosticMessages(getMessages: undefined | (() => typeof localizedDiagnosticMessages)) {
59315933
if (!localizedDiagnosticMessages && getMessages) {
59325934
localizedDiagnosticMessages = getMessages();

0 commit comments

Comments
 (0)