Skip to content

Commit

Permalink
fix: tagValueProcessor type definition (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreafspeziale authored Aug 23, 2022
1 parent f7f3674 commit 4735d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fxp.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type X2jOptions = {
trimValues: boolean;
cdataPropName: false | string;
commentPropName: false | string;
tagValueProcessor: (tagName: string, tagValue: string, jPath: string, hasAttributes: boolean, isLeafNode: boolean) => string;
tagValueProcessor: (tagName: string, tagValue: string, jPath: string, hasAttributes: boolean, isLeafNode: boolean) => unknown;
attributeValueProcessor: (attrName: string, attrValue: string, jPath: string) => string;
numberParseOptions: strnumOptions;
stopNodes: string[];
Expand Down

0 comments on commit 4735d54

Please sign in to comment.