All Things Typescript Newsletter - Better Type Safety with Discriminated Unions - Issue #9
www.allthingstypescript.dev
If we want to get the most out of Typescript Types, we need to ensure that we are specific in how we define them. A loosely defined type might be better than not having them, but their impact will not be as good as having Types that properly reflect our data.
All Things Typescript Newsletter - Better Type Safety with Discriminated Unions - Issue #9
All Things Typescript Newsletter - Better…
All Things Typescript Newsletter - Better Type Safety with Discriminated Unions - Issue #9
If we want to get the most out of Typescript Types, we need to ensure that we are specific in how we define them. A loosely defined type might be better than not having them, but their impact will not be as good as having Types that properly reflect our data.