When compiling against this library in an ESM project, I get the error:
error TS7016: Could not find a declaration file for module 'graph-data-structure'.
Adding the types conditional export resolves the issue. I see there's the classic style top level types field, but the exports field takes precedence over that.
When compiling against this library in an ESM project, I get the error:
Adding the
types
conditional export resolves the issue. I see there's the classic style top leveltypes
field, but theexports
field takes precedence over that.