TS5087
error TS5087: A labeled tuple element is declared as rest with a ‘
...
‘ before the name, rather than before the type.
Broken Code ❌
1 |
|
Fixed Code ✔️
We have to move the rest operator to the label name:
1 |
|
error TS5087: A labeled tuple element is declared as rest with a ‘
...
‘ before the name, rather than before the type.
1 |
|
We have to move the rest operator to the label name:
1 |
|