Control Union Distribution

Use when conditional types behave unexpectedly with unions. Use when boolean or never types cause surprises. Use when needing to prevent distribution over unions. Use when recursive generic types don't distribute.

marius-townhouse da82284 6.8 KB Updated

File contents

marius-townhouse/effective-typescript-skills/tree/main/skills/control-union-distribution commit da82284e64

Frequently asked questions

npx skillmds@latest add marius-townhouse/control-union-distribution