All Tracks/workshop bug emoji picker/
Đang tải...
Hướng dẫn thử thách
1 / 19

Step 1

In this workshop, you'll learn about TypeScript abstract classes and generics by building a bug species selector that displays different bug emojis. The HTML and CSS for the project have been provided for you so you can focus on the TypeScript. You can check the files to learn about the elements you will select later. To start, you'll need an abstract base class for all bugs. Abstract classes cannot be instantiated directly and are meant to be extended by other classes. Create an abstract class named `Bug` with a generic type parameter `T`.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.ts
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.