We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c62160 commit 4a65f85Copy full SHA for 4a65f85
mangle.json
@@ -0,0 +1,5 @@
1
+{
2
+ "mangle": {
3
+ "regex": "^_"
4
+ }
5
+}
typebox/src/typebox.ts
@@ -40,7 +40,7 @@ const parseErrorSchema = (
40
41
export const typeboxResolver: Resolver =
42
(schema) => async (values, _, options) => {
43
- const errors = [...Value.Errors(schema, values)];
+ const errors = Array.from(Value.Errors(schema, values));
44
45
options.shouldUseNativeValidation && validateFieldsNatively({}, options);
46
0 commit comments