Question · Vibe coding with Claude Code course · Module 12: Medium clone
The name of the reply type
Why do you name the type of a reader's reply under an article ArticleResponse and not Response?
Answer options
- Type names in TypeScript must have at least two words
- Next.js reserves the name Response only for Server Components
- Response is a built-in Fetch API type, and your own type with that name shadows it and gives misleading tsc errors
- ArticleResponse is shorter in code than Response
You can check the correct answer by solving this task in the CodeWorlds game.