Skip to content

Commit

Permalink
fix(core/utils): Deep-copy functionDeserializer type issue in array.c…
Browse files Browse the repository at this point in the history
…oncat argument.
  • Loading branch information
Marco Tozzi authored and robzan8 committed May 10, 2024
1 parent f195f11 commit eeed45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/core/utils/src/deep-copy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function functionDeserializer(_: any, v: any): any {
const bodyMatch = v.match(/\{(.*)\}/);
if (bodyMatch != null && bodyMatch.length > 1) {
const body = bodyMatch[1];
const fx = args.concat(body);
const fx = args.concat(body as any);
return Function.apply(null, fx);
}
}
Expand Down

0 comments on commit eeed45d

Please sign in to comment.