Skip to content

Commit 656374c

Browse files
committed
Expose source on JSONParserError in typings
1 parent a4eec2b commit 656374c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ declare namespace $RefParser {
410410
export class JSONParserError extends Error {
411411
readonly name: string;
412412
readonly message: string;
413+
readonly source: string;
413414
readonly path: Array<string | number>;
414415
readonly errors: string;
415416
readonly code: JSONParserErrorType;

0 commit comments

Comments
 (0)