Skip to content

Commit d8c82a8

Browse files
Make it better.
1 parent b9bd0d9 commit d8c82a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/checker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15474,8 +15474,8 @@ namespace ts {
1547415474
error(
1547515475
node,
1547615476
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);
15477+
Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this_which_implicitly_has_type_any :
15478+
Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);
1547915479
}
1548015480
return type || anyType;
1548115481
}

0 commit comments

Comments
 (0)