
Intermediate React Native TypeScript Exercise
Transcript from the "TypeScript Exercise" Lesson
[00:00:00]
>> Now this was a bit of a whirlwind intro into Typescript and we have come to a TypeScript exercise. If you open this TypeScript playground you should see something prefilled. All right, so here we have an array of pets, so we've got a cat and a dog and a fish and we have a type for the pet.
[00:00:19] So here you have an array of pets and then you have the type of the pet, but I haven't implemented the whole type. So know what you know now using string, number, optional types and arrays implement the rest of this type.