Skip to content

Commit

Permalink
fix(validator): return validObject
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Jan 3, 2023
1 parent 88bcfff commit aa44ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/validator/src/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ export function validator<T extends ValidType>(
}
}

return targetObject as T;
return validObject as T;
}

0 comments on commit aa44ed0

Please sign in to comment.