Cette leçon est en anglais pour le moment.
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.
Cette leçon est en anglais pour le moment.
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.