Skip to content

Commit

Permalink
fix: typedoc building again
Browse files Browse the repository at this point in the history
  • Loading branch information
BelfordZ committed Oct 5, 2022
1 parent 1733530 commit 5b2a179
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/resolve-pointer.ts
Expand Up @@ -26,6 +26,6 @@ export default (ref: string, root: any): any => {
const pointer = Ptr.parse(withoutHash);
return pointer.eval(root);
} catch (e) {
throw new InvalidJsonPointerRefError(ref, e.message);
throw new InvalidJsonPointerRefError(ref, (e as Error).message);
}
};
9 changes: 2 additions & 7 deletions typedoc.json
@@ -1,7 +1,8 @@
{
"name": "@json-schema-tools/reference-resolver",
"entryPoints": [
"./src/index.ts"
"./src/index.ts",
"./src/reference-resolver.ts"
],
"out": "docs",
"readme": "./README.md",
Expand All @@ -11,11 +12,5 @@
"build",
"jest.config.js",
"src/*.test.ts"
],
"toc": [
"referenceResolver",
"InvalidFileSystemPathError",
"InvalidJsonPointerRefError",
"NonJsonRefError"
]
}

0 comments on commit 5b2a179

Please sign in to comment.