type Shape = 'circle' | 'box';
interface PaintOptions {
shape: Shape;
xPos?: number;
yPos?: number;
};
function paintShape({ shape, xPos = 0, yPos = 0 }: PaintOptions) {
console.log(shape);
console.log("x coordinate at", xPos);
console.log("y coordinate at", yPos);
}
paintShape({ shape: 'circle' });
