Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
x1000
· 9y ago · 0 comments
This article seems relevant,
https://www.typescriptlang.org/docs/handbook/advanced-types....
. Particularly the part on discriminated unions. I'm just now learning TypeScript, so I have yet to actually implement anything this way.
Comments
No comments yet.
Better HN