Put in order · Vibe coding with Claude Code course · Module 12: Medium clone
Tabs with a type
Put in order the lines of the tab definition from which TypeScript pulls the TabKey type:
Items to put in order
- ] as const;
- type TabKey = (typeof TABS)[number]["key"];
- { key: "latest", label: "Latest" }, ...
- const TABS = [
You can check the correct answer by solving this task in the CodeWorlds game.