Code QuizIntermediate

Type Alias Cannot Merge

Spot why redeclaring a type alias causes an error.

Codetypescript
type User = { name: string };

type User = { age: number };

What is the bug in this code?