interface Shape { points: Point[], }; interface Point { x: number, y: number, };