Anything JSCAD hands back: a 2D region, a 3D solid, or a 2D path. The three share no members
beyond their transform, so narrow on the one you want - "polygons" in entity for a solid,
"isClosed" in entity for a path, "sides" in entity for a 2D region.
These are structural mirrors of the library's own types rather than imports of them, so the
published declarations stay self-contained; jscad-entity.test.ts fails the build if the two
ever stop matching.
Anything JSCAD hands back: a 2D region, a 3D solid, or a 2D path. The three share no members beyond their transform, so narrow on the one you want -
"polygons" in entityfor a solid,"isClosed" in entityfor a path,"sides" in entityfor a 2D region.These are structural mirrors of the library's own types rather than imports of them, so the published declarations stay self-contained; jscad-entity.test.ts fails the build if the two ever stop matching.