Hacker News new | ask | show | jobs
by docmars 1221 days ago
Don't forget the power of `as const` and type guards for tricky dynamic types! Especially for function params that accept multiple complex object types.