Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
interface Point { x: number; y: number; } let pointPart: Partial
= {}; // `Partial` allows x and y to be optional pointPart.x = 10; console.log(pointPart);
{ x: 10 }