Skip to content

Commit fc720e0

Browse files
authored
Update parser.d.ts
1 parent be81aac commit fc720e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ type J2xOptionsOptional = Partial<J2xOptions>;
3939
type ESchema = string | object | Array<string|object>;
4040

4141
type ValidationError = {
42-
err: { code: string; msg: string };
42+
err: { code: string; msg: string, line: number };
4343
};
4444

4545
export function parse(xmlData: string, options?: X2jOptionsOptional, validationOptions?: validationOptionsOptional | boolean): any;

0 commit comments

Comments
 (0)