dxf
dxf copied to clipboard
toPolyLines wrong type, is currently information.Polyline[] but toPolyLines returns { bbox, polylines }
When using the library to write a typescript program to estimate lengths of entities, I came across the following:
return { bbox, polylines }
toPolylines(): Information.Polyline[];
Proposed solution:
{bbox: bbox, polylines: Information.Polyline[]};