fix: change error1023 key name

This commit is contained in:
Troy Tae
2019-09-18 17:19:19 +09:00
parent a5cda4633b
commit 56df48d5fa
+1 -1
View File
@@ -32802,7 +32802,7 @@ namespace ts {
Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead);
}
return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_type_must_be_string_or_number);
return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_type_must_be_either_string_or_number);
}
if (!node.type) {
return grammarErrorOnNode(node, Diagnostics.An_index_signature_must_have_a_type_annotation);