All Tracks/workshop fortune teller app/
Đang tải...
Hướng dẫn thử thách
1 / 53

Step 1

In this workshop, you will continue to practice working with TypeScript by building a fortune telling app. Begin by declaring an interface named `Card`. Inside the `Card` interface, add the following properties: `name`, `name_short` and `value`. The `name`, and `name_short` properties should have the types set to `string` and the `value` should have a union type set to `string | number`.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.sh
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.