Skip to content

Commit

Permalink
bugfix(types): add stopNodes to X2jOptions (#192)
Browse files Browse the repository at this point in the history
so they can be used cleanly in typescript.

Fixes #191
  • Loading branch information
sverweij authored and amitguptagwl committed Oct 5, 2019
1 parent 322f13d commit 4a49683
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ type X2jOptions = {
parseTrueNumberOnly: boolean;
tagValueProcessor: (tagValue: string, tagName: string) => string;
attrValueProcessor: (attrValue: string, attrName: string) => string;
stopNodes: string[];
};
type X2jOptionsOptional = Partial<X2jOptions>;
type validationOptions = {
Expand Down

0 comments on commit 4a49683

Please sign in to comment.