mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
Revert the type change to ts.Map (#39366)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user