mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Switch let -> const from lint validation
This commit is contained in:
parent
317f5e2f56
commit
71bfefccb9
@ -690,7 +690,7 @@ namespace ts {
|
||||
}
|
||||
|
||||
function ConvertJsonOptionToStringArray(optionName: string, optionJson: any, errors: Diagnostic[], func?: (element: string) => string): string[] {
|
||||
let items: string[] = [];
|
||||
const items: string[] = [];
|
||||
let invalidOptionType = false;
|
||||
if (!isArray(optionJson)) {
|
||||
invalidOptionType = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user