Skip to content

Commit

Permalink
Fix processDiagnosticMessages script
Browse files Browse the repository at this point in the history
  • Loading branch information
ahejlsberg committed Aug 11, 2016
1 parent cba2e1a commit 3ff89f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/processDiagnosticMessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function checkForUniqueCodes(messages: string[], diagnosticTable: InputDiagnosti
}

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

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

Expand Down

0 comments on commit 3ff89f7

Please sign in to comment.