mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Make it better.
This commit is contained in:
parent
b9bd0d9a3f
commit
d8c82a84e5
@ -15474,8 +15474,8 @@ namespace ts {
|
||||
error(
|
||||
node,
|
||||
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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user