79599156

Date: 2025-04-29 20:25:54
Score: 3.5
Natty:
Report link

https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#distributive-conditional-types

Seems I missed this in the documentation:

When conditional types act on a generic type, they become distributive when given a union type.

seems obvious now, though.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: gbromios