Revert the type change to ts.Map (#39366)

This commit is contained in:
Ron Buckton authored and GitHub committed 2020-07-01 17:00:26 -07:00
1 parent 852800bb98
commit 7b942b4fa8
71 files changed
+443 -405

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ namespace ts {
if (option.name === "lib") {
description = getDiagnosticText(option.description);
const element = (<CommandLineOptionOfListType>option).element;
const typeMap = <Map<string, number | string>>element.type;
const typeMap = <ESMap<string, number | string>>element.type;
optionsDescriptionMap.set(description, arrayFrom(typeMap.keys()).map(key => `'${key}'`));
}
else {