From 4735d54d4de29a2a422bf3605138144e2e5054dc Mon Sep 17 00:00:00 2001 From: Andrea Francesco Speziale Date: Tue, 23 Aug 2022 16:18:07 +0200 Subject: [PATCH] fix: tagValueProcessor type definition (#491) --- src/fxp.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fxp.d.ts b/src/fxp.d.ts index 94e2f84b..e1e8e74e 100644 --- a/src/fxp.d.ts +++ b/src/fxp.d.ts @@ -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[];