Code QuizIntermediate

Object Shape Type Alias

Find the missing piece in this object type alias.

Codetypescript
type Point {
  x: number;
  y: number;
}

const p: Point = { x: 1, y: 2 };

What is the bug in this code?