Skip to content

Commit 56df48d

Browse files
author
Troy Tae
committed
fix: change error1023 key name
1 parent a5cda46 commit 56df48d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32802,7 +32802,7 @@ namespace ts {
3280232802
Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead);
3280332803
}
3280432804

32805-
return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_type_must_be_string_or_number);
32805+
return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_type_must_be_either_string_or_number);
3280632806
}
3280732807
if (!node.type) {
3280832808
return grammarErrorOnNode(node, Diagnostics.An_index_signature_must_have_a_type_annotation);

0 commit comments

Comments
 (0)