79165618

Date: 2024-11-07 08:50:07
Score: 2
Natty:
Report link

As stated in the "EDIT" section above, a workaround is to give up on tuples and use object types and literals instead.

But the best option would be to fix the microsoft/TypeScript#55632 issue: here is a PR microsoft/TypeScript#60434 that would give a proper solution to this problem if merged.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Franck Wolff