export class Point { constructor( public x:number, public y:number, ) {} } export type Polygon = Point[];