Skip to content

Commit

Permalink
fix: #226 export typeguards isContentParseError and `isContentValid…
Browse files Browse the repository at this point in the history
…ationErrors`
  • Loading branch information
josdejong committed Feb 24, 2023
1 parent 5ad5359 commit 0c8189f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,12 @@ const editor = new JSONEditor({
- Path:
- `parseJSONPath`
- `stringifyJSONPath`
- Actions:
- `resizeObserver`
- `onEscape`
- Typeguards:
- `isContentParseError`
- `isContentValidationErrors`
- Functions from [`immutable-json-patch`](https://github.com/josdejong/immutable-json-patch/):
- `immutableJSONPatch`
- `revertJSONPatch`
Expand Down
3 changes: 3 additions & 0 deletions src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ export { parseJSONPath, stringifyJSONPath } from './utils/pathUtils.js'
export { resizeObserver } from './actions/resizeObserver.js'
export { onEscape } from './actions/onEscape.js'

// typeguards
export { isContentParseError, isContentValidationErrors } from './typeguards.js'

// immutable-json-patch
export {
immutableJSONPatch,
Expand Down

0 comments on commit 0c8189f

Please sign in to comment.