We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9bd0d9 commit d8c82a8Copy full SHA for d8c82a8
src/compiler/checker.ts
@@ -15474,8 +15474,8 @@ namespace ts {
15474
error(
15475
node,
15476
capturedByArrowFunction ?
15477
- Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation :
15478
- 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);
15479
}
15480
return type || anyType;
15481
0 commit comments