You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// - If IndexExpr is a string literal or a numeric literal and ObjExpr's apparent type has a property with the name
5091
5095
// given by that literal(converted to its string representation in the case of a numeric literal), the property access is of the type of that property.
Copy file name to clipboardExpand all lines: src/compiler/diagnosticInformationMap.generated.ts
+1
Original file line number
Diff line number
Diff line change
@@ -353,6 +353,7 @@ module ts {
353
353
Enum_declarations_must_all_be_const_or_non_const: {code: 4082,category: DiagnosticCategory.Error,key: "Enum declarations must all be const or non-const."},
354
354
In_const_enum_declarations_member_initializer_must_be_constant_expression: {code: 4083,category: DiagnosticCategory.Error,key: "In 'const' enum declarations member initializer must be constant expression."},
355
355
const_enums_can_only_be_used_in_property_access_expressions: {code: 4084,category: DiagnosticCategory.Error,key: "'const' enums can only be used in property access expressions."},
356
+
Index_expression_arguments_in_const_enums_must_be_of_type_string: {code: 4085,category: DiagnosticCategory.Error,key: "Index expression arguments in 'const' enums must be of type 'string'."},
356
357
The_current_host_does_not_support_the_0_option: {code: 5001,category: DiagnosticCategory.Error,key: "The current host does not support the '{0}' option."},
357
358
Cannot_find_the_common_subdirectory_path_for_the_input_files: {code: 5009,category: DiagnosticCategory.Error,key: "Cannot find the common subdirectory path for the input files."},
0 commit comments