Por enquanto, esta lição está em inglês.
Describing objects
Most data in a web app is objects: a post, a user, a response from the API. TypeScript checks objects by their shape: which properties they have and what type each one is.
Por enquanto, esta lição está em inglês.
Most data in a web app is objects: a post, a user, a response from the API. TypeScript checks objects by their shape: which properties they have and what type each one is.