Amy Blankenship
Sep 23, 2023

--

It certainly provides the illusion of this. However, if your code interacts with an API, Typescript can't know if something you get from the backend has null somewhere it's defined as non-nullable. Sorry, Charlie.

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

No responses yet