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
Copy file name to clipboardExpand all lines: src/compiler/diagnosticInformationMap.generated.ts
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -138,9 +138,9 @@ module ts {
138
138
Type_0_is_not_assignable_to_type_1_Colon: {code: 2322,category: DiagnosticCategory.Error,key: "Type '{0}' is not assignable to type '{1}':"},
139
139
Type_0_is_not_assignable_to_type_1: {code: 2323,category: DiagnosticCategory.Error,key: "Type '{0}' is not assignable to type '{1}'."},
140
140
Property_0_is_missing_in_type_1: {code: 2324,category: DiagnosticCategory.Error,key: "Property '{0}' is missing in type '{1}'."},
141
-
Private_property_0_cannot_be_reimplemented: {code: 2325,category: DiagnosticCategory.Error,key: "Private property '{0}' cannot be reimplemented."},
141
+
Property_0_is_private_in_type_1_but_not_in_type_2: {code: 2325,category: DiagnosticCategory.Error,key: "Property '{0}' is private in type '{1}' but not in type '{2}'."},
142
142
Types_of_property_0_are_incompatible_Colon: {code: 2326,category: DiagnosticCategory.Error,key: "Types of property '{0}' are incompatible:"},
143
-
Required_property_0_cannot_be_reimplemented_with_optional_property_in_1: {code: 2327,category: DiagnosticCategory.Error,key: "Required property '{0}' cannot be reimplemented with optional property in '{1}'."},
143
+
Property_0_is_optional_in_type_1_but_required_in_type_2: {code: 2327,category: DiagnosticCategory.Error,key: "Property '{0}' is optional in type '{1}' but required in type '{2}'."},
144
144
Types_of_parameters_0_and_1_are_incompatible_Colon: {code: 2328,category: DiagnosticCategory.Error,key: "Types of parameters '{0}' and '{1}' are incompatible:"},
145
145
Index_signature_is_missing_in_type_0: {code: 2329,category: DiagnosticCategory.Error,key: "Index signature is missing in type '{0}'."},
146
146
Index_signatures_are_incompatible_Colon: {code: 2330,category: DiagnosticCategory.Error,key: "Index signatures are incompatible:"},
@@ -153,8 +153,8 @@ module ts {
153
153
Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors: {code: 2337,category: DiagnosticCategory.Error,key: "Super calls are not permitted outside constructors or in nested functions inside constructors"},
154
154
super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class: {code: 2338,category: DiagnosticCategory.Error,key: "'super' property access is permitted only in a constructor, member function, or member accessor of a derived class"},
155
155
Property_0_does_not_exist_on_type_1: {code: 2339,category: DiagnosticCategory.Error,key: "Property '{0}' does not exist on type '{1}'."},
156
-
Only_public_methods_of_the_base_class_are_accessible_via_the_super_keyword: {code: 2340,category: DiagnosticCategory.Error,key: "Only public methods of the base class are accessible via the 'super' keyword"},
157
-
Property_0_is_inaccessible: {code: 2341,category: DiagnosticCategory.Error,key: "Property '{0}' is inaccessible."},
156
+
Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword: {code: 2340,category: DiagnosticCategory.Error,key: "Only public and protected methods of the base class are accessible via the 'super' keyword"},
157
+
Property_0_is_private_and_only_accessible_within_class_1: {code: 2341,category: DiagnosticCategory.Error,key: "Property '{0}' is private and only accessible within class '{1}'."},
158
158
An_index_expression_argument_must_be_of_type_string_number_or_any: {code: 2342,category: DiagnosticCategory.Error,key: "An index expression argument must be of type 'string', 'number', or 'any'."},
159
159
Type_0_does_not_satisfy_the_constraint_1_Colon: {code: 2343,category: DiagnosticCategory.Error,key: "Type '{0}' does not satisfy the constraint '{1}':"},
160
160
Type_0_does_not_satisfy_the_constraint_1: {code: 2344,category: DiagnosticCategory.Error,key: "Type '{0}' does not satisfy the constraint '{1}'."},
@@ -198,7 +198,7 @@ module ts {
198
198
Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature: {code: 2382,category: DiagnosticCategory.Error,key: "Specialized overload signature is not assignable to any non-specialized signature."},
199
199
Overload_signatures_must_all_be_exported_or_not_exported: {code: 2383,category: DiagnosticCategory.Error,key: "Overload signatures must all be exported or not exported."},
200
200
Overload_signatures_must_all_be_ambient_or_non_ambient: {code: 2384,category: DiagnosticCategory.Error,key: "Overload signatures must all be ambient or non-ambient."},
201
-
Overload_signatures_must_all_be_public_or_private: {code: 2385,category: DiagnosticCategory.Error,key: "Overload signatures must all be publicor private."},
201
+
Overload_signatures_must_all_be_public_private_or_protected: {code: 2385,category: DiagnosticCategory.Error,key: "Overload signatures must all be public, private or protected."},
202
202
Overload_signatures_must_all_be_optional_or_required: {code: 2386,category: DiagnosticCategory.Error,key: "Overload signatures must all be optional or required."},
203
203
Function_overload_must_be_static: {code: 2387,category: DiagnosticCategory.Error,key: "Function overload must be static."},
204
204
Function_overload_must_not_be_static: {code: 2388,category: DiagnosticCategory.Error,key: "Function overload must not be static."},
@@ -255,6 +255,11 @@ module ts {
255
255
Import_declaration_in_an_ambient_external_module_declaration_cannot_reference_external_module_through_relative_external_module_name: {code: 2439,category: DiagnosticCategory.Error,key: "Import declaration in an ambient external module declaration cannot reference external module through relative external module name."},
256
256
Import_declaration_conflicts_with_local_declaration_of_0: {code: 2440,category: DiagnosticCategory.Error,key: "Import declaration conflicts with local declaration of '{0}'"},
257
257
Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_an_external_module: {code: 2441,category: DiagnosticCategory.Error,key: "Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of an external module."},
258
+
Types_have_separate_declarations_of_a_private_property_0: {code: 2442,category: DiagnosticCategory.Error,key: "Types have separate declarations of a private property '{0}'."},
259
+
Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2: {code: 2443,category: DiagnosticCategory.Error,key: "Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."},
260
+
Property_0_is_protected_in_type_1_but_public_in_type_2: {code: 2444,category: DiagnosticCategory.Error,key: "Property '{0}' is protected in type '{1}' but public in type '{2}'."},
261
+
Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses: {code: 2445,category: DiagnosticCategory.Error,key: "Property '{0}' is protected and only accessible within class '{1}' and its subclasses."},
262
+
Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1: {code: 2446,category: DiagnosticCategory.Error,key: "Property '{0}' is protected and only accessible through an instance of class '{1}'."},
258
263
Import_declaration_0_is_using_private_name_1: {code: 4000,category: DiagnosticCategory.Error,key: "Import declaration '{0}' is using private name '{1}'."},
259
264
Type_parameter_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: {code: 4001,category: DiagnosticCategory.Error,key: "Type parameter '{0}' of exported class has or is using name '{1}' from private module '{2}'."},
260
265
Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: {code: 4002,category: DiagnosticCategory.Error,key: "Type parameter '{0}' of exported class has or is using private name '{1}'."},
Copy file name to clipboardExpand all lines: tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.errors.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
tests/cases/conformance/internalModules/DeclarationMerging/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.ts(11,16): error TS2341: Property 'clodule.sfn' is inaccessible.
1
+
tests/cases/conformance/internalModules/DeclarationMerging/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.ts(11,16): error TS2341: Property 'sfn' is private and only accessible within class 'clodule<T>'.
0 commit comments