Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
pseudonom-
· 8y ago · 0 comments
You can use switch statements for a pattern matching analogue. See the "Exhaustiveness Checking" heading at
https://www.typescriptlang.org/docs/handbook/advanced-types....
.
Comments
No comments yet.
Better HN