Make it better.

This commit is contained in:
Daniel Rosenwasser 2018-08-14 22:55:06 -07:00
parent b9bd0d9a3f
commit d8c82a84e5

View file

@ -15474,8 +15474,8 @@ namespace ts {
error( error(
node, node,
capturedByArrowFunction ? capturedByArrowFunction ?
Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation : Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this_which_implicitly_has_type_any :
Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this_which_implicitly_has_type_any); Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);
} }
return type || anyType; return type || anyType;
} }