TS2695
error TS2695: Left side of comma operator is unused and has no side effects.
Broken Code ❌
1 |
|
Fixed Code ✔️
You just cannot leave out a callback parameter if you don’t want to use it. Mark it with an underscore (_
) instead:
1 |
|
error TS2695: Left side of comma operator is unused and has no side effects.
1 |
|
You just cannot leave out a callback parameter if you don’t want to use it. Mark it with an underscore (_
) instead:
1 |
|