Commit f7339cd
committed
Replace indexOf checks with includes() for readability
Modernize membership checks from `indexOf(...) === -1` and
`indexOf(...) >= 0` to use `includes()` in moduleSpecifiers.ts
and importFixes.ts.
https://claude.ai/code/session_01As1r4ZnGpdzw4gMYehgwe71 parent b949efa commit f7339cd
File tree
2 files changed
+4
-4
lines changed- src
- compiler
- services/codefixes
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1107 | 1107 | | |
1108 | 1108 | | |
1109 | 1109 | | |
1110 | | - | |
| 1110 | + | |
1111 | 1111 | | |
1112 | 1112 | | |
1113 | 1113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
610 | | - | |
| 610 | + | |
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
636 | | - | |
| 635 | + | |
| 636 | + | |
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| |||
0 commit comments