avancement planning
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { ZodFirstPartyTypeKind } from "zod";
|
||||
import { ZodFirstPartyTypeKind } from "zod/v3";
|
||||
import { setResponseValueAndErrors } from "../errorMessages.js";
|
||||
import { parseDef } from "../parseDef.js";
|
||||
export function parseArrayDef(def, refs) {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { ZodFirstPartyTypeKind, } from "zod";
|
||||
import { ZodFirstPartyTypeKind, } from "zod/v3";
|
||||
import { parseDef } from "../parseDef.js";
|
||||
import { parseStringDef } from "./string.js";
|
||||
import { parseBrandedDef } from "./branded.js";
|
||||
|
||||
-1
@@ -184,7 +184,6 @@ export function parseStringDef(def, refs) {
|
||||
case "trim":
|
||||
break;
|
||||
default:
|
||||
/* c8 ignore next */
|
||||
((_) => { })(check);
|
||||
}
|
||||
}
|
||||
|
||||
+1
-2
@@ -1,4 +1,4 @@
|
||||
import { ZodFirstPartyTypeKind } from "zod";
|
||||
import { ZodFirstPartyTypeKind } from "zod/v3";
|
||||
import { parseAnyDef } from "./parsers/any.js";
|
||||
import { parseArrayDef } from "./parsers/array.js";
|
||||
import { parseBigintDef } from "./parsers/bigint.js";
|
||||
@@ -100,7 +100,6 @@ export const selectParser = (def, typeName, refs) => {
|
||||
case ZodFirstPartyTypeKind.ZodSymbol:
|
||||
return undefined;
|
||||
default:
|
||||
/* c8 ignore next */
|
||||
return ((_) => undefined)(typeName);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user