Migrate more places to use Map/Set

This commit is contained in:
Ron Buckton
2020-06-25 16:03:25 -07:00
parent eb2f4e2337
commit 611b77f2e6
107 changed files with 631 additions and 670 deletions

View File

@@ -75,7 +75,7 @@ namespace ts {
const usageColumn: string[] = []; // Things like "-d, --declaration" go in here.
const descriptionColumn: string[] = [];
const optionsDescriptionMap = createMap<string[]>(); // Map between option.description and list of option.type if it is a kind
const optionsDescriptionMap = new Map<string, string[]>(); // Map between option.description and list of option.type if it is a kind
for (const option of optionsList) {
// If an option lacks a description,