interface Point {
    x: number;
    y: number;
    z?: number;
}

Properties

x y z?

Properties

x: number
y: number
z?: number