export interface Vector2D { x: number; y: number; } export interface Vector3D extends Vector2D { z: number; }