File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5831,7 +5831,7 @@ namespace ts {
5831
5831
}
5832
5832
}
5833
5833
else {
5834
- error(node, Diagnostics.An_interface_may_only_extend_a_class_or_another_interface );
5834
+ error(node, Diagnostics.An_interface_can_only_extend_an_object_or_intersection_type_with_statically_known_members );
5835
5835
}
5836
5836
}
5837
5837
}
@@ -25979,7 +25979,7 @@ namespace ts {
25979
25979
}
25980
25980
}
25981
25981
else {
25982
- error(typeRefNode, Diagnostics.A_class_may_only_implement_another_class_or_interface );
25982
+ error(typeRefNode, Diagnostics.A_class_can_only_implement_an_object_or_intersection_type_with_statically_known_members );
25983
25983
}
25984
25984
}
25985
25985
}
Original file line number Diff line number Diff line change 1056
1056
"category" : " Error" ,
1057
1057
"code" : 2311
1058
1058
},
1059
- "An interface may only extend a class or another interface ." : {
1059
+ "An interface can only extend an object or intersection type with statically known members ." : {
1060
1060
"category" : " Error" ,
1061
1061
"code" : 2312
1062
1062
},
1484
1484
"category" : " Error" ,
1485
1485
"code" : 2420
1486
1486
},
1487
- "A class may only implement another class or interface ." : {
1487
+ "A class can only implement an object or intersection type with statically known members ." : {
1488
1488
"category" : " Error" ,
1489
1489
"code" : 2422
1490
1490
},
You can’t perform that action at this time.
0 commit comments