Skip to content
RED SAGSkills
hard20 pts · first answer countsjavascripttypescript

Stopping mixed-up string IDs

A function takes (orderId: string, userId: string) and callers keep swapping them. Which pattern makes a swap a compile error at zero runtime cost?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions