Readonly<T> prevents reassigning any property after creation.
interface Point { x: number; y: number; } const p: Readonly<Point> = { x: 1, y: 2 }; p.x = 5; // Error
What is the bug on the last line?