Code QuizIntermediate

Declaring an Interface

Spot the syntax error when declaring a TypeScript interface.

Codetypescript
interface User = {
  id: number;
  name: string;
}

const u: User = { id: 1, name: "Ada" };

What is the bug in this interface declaration?