json-joy
json-joy copied to clipboard
Non-exported types?
Many types are unreachable by the user, for example in json-joy/esm/json-patch the OpAdd class takes a Path type argument. It is sourced from json-pointer, but json-pointer is not outwardly available. This can be seen in The typedoc site as well
pump
The provided sample in the documentation does not seem to work:
import {find, parseJsonPointer} from 'json-joy/{lib,es6,esm}/json-pointer';
...
However working with @jsonjoy.com/json-pointer works:
import { find, parseJsonPointer } from '@jsonjoy.com/json-pointer';
The documentation may have to be updated.