Skip to content

Commit 3ff89f7

Browse files
committed
Fix processDiagnosticMessages script
1 parent cba2e1a commit 3ff89f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/processDiagnosticMessages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function checkForUniqueCodes(messages: string[], diagnosticTable: InputDiagnosti
6969
}
7070

7171
function buildUniqueNameMap(names: string[]): ts.Map<string> {
72-
var nameMap: ts.Map<string> = {};
72+
var nameMap = ts.createMap<string>();
7373

7474
var uniqueNames = NameGenerator.ensureUniqueness(names, /* isCaseSensitive */ false, /* isFixed */ undefined);
7575

0 commit comments

Comments
 (0)