top | item 14704769 (no title) x1000 | 8 years ago 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. discuss order hn newest No comments yet.
No comments yet.