UNPKG

@dominicstop/utils

Version:

Yet another event emitter written in typescript.

12 lines (7 loc) 228 B
import { Point } from "../Point"; import { BoxedShape } from "./BoxedShape"; export interface BoxedPolygon< Value extends Record<string, unknown> > extends BoxedShape<Value> { get cornerPointsAsArray(): Array<Point>; };