Commit 746b318
fix(linter): false positive in typescript/explicit-function-return-type with
when working on #10667, i noticed these tests were missing from our suite.
this PR ports over the tests and fixes them
typescript/eslint PR typescript-eslint/typescript-eslint#10315satisfies (#10668)1 parent cce1043 commit 746b318
File tree
1 file changed
+62
-4
lines changed- crates/oxc_linter/src/rules/typescript
1 file changed
+62
-4
lines changedLines changed: 62 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
423 | 431 | | |
424 | 432 | | |
425 | 433 | | |
| |||
606 | 614 | | |
607 | 615 | | |
608 | 616 | | |
609 | | - | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
610 | 621 | | |
611 | 622 | | |
612 | 623 | | |
| |||
1145 | 1156 | | |
1146 | 1157 | | |
1147 | 1158 | | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
1151 | 1209 | | |
1152 | 1210 | | |
1153 | 1211 | | |
| |||
0 commit comments