Coding task · JavaScript and TypeScript course · Module 6: TypeScript Basics
Practice: Typed Factory
Create a typed factory function for creating different types of dinosaurs.
Task
Implement a typed createDinosaur factory function with interfaces for different species.