Closed cmidgley closed 1 year ago
The type SubjectInput is not being exported from the wrapper (its buddy ClipInput is exported). Hand editing index.d.ts to include the import:
SubjectInput
ClipInput
index.d.ts
import { ClipInput, ClipParams, SubjectInput } from "./clipFunctions";
and then exporting it:
export { ClipType, EndType, JoinType, PolyFillType, NativeClipperLibLoadedFormat, NativeClipperLibRequestedFormat, PointInPolygonResult, PolyNode, PolyTree, IntPoint, IntRect, Path, ReadonlyPath, Paths, ReadonlyPaths, ClipInput, ClipParams, OffsetInput, OffsetParams, ClipperError , SubjectInput };
Resolves the issue. Similar changes to index.ts would likely (correctly) fix this issue.
index.ts
Thanks! It should be exported in v1.3.0
Feel free to reopen the issue if something is wrong!
The type
SubjectInput
is not being exported from the wrapper (its buddyClipInput
is exported). Hand editingindex.d.ts
to include the import:and then exporting it:
Resolves the issue. Similar changes to
index.ts
would likely (correctly) fix this issue.