Aug 28, 2022
Except when, like in your example, it's coming from an API. you could get "1" back from the API and Typsecript won't know anything about it or alert you to a problem.
Except when, like in your example, it's coming from an API. you could get "1" back from the API and Typsecript won't know anything about it or alert you to a problem.
Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.