Skip to content

Commit

Permalink
clean console.log from debug
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabat committed Sep 6, 2022
1 parent 2657fa6 commit 87a3caa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion deno/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2156,7 +2156,6 @@ type ZodOriginType<T extends ZodTypeAny, D extends Prev[number] = 9> = [

function getSourceType<T extends ZodTypeAny>(type: T): ZodSourceType<T> {
if (type._def.typeName === ZodFirstPartyTypeKind.ZodLazy) {
console.log("lazy");
return getSourceType(
(type as unknown as ZodLazy<ZodTypeAny>).schema
) as ZodSourceType<T>;
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2156,7 +2156,6 @@ type ZodOriginType<T extends ZodTypeAny, D extends Prev[number] = 9> = [

function getSourceType<T extends ZodTypeAny>(type: T): ZodSourceType<T> {
if (type._def.typeName === ZodFirstPartyTypeKind.ZodLazy) {
console.log("lazy");
return getSourceType(
(type as unknown as ZodLazy<ZodTypeAny>).schema
) as ZodSourceType<T>;
Expand Down

0 comments on commit 87a3caa

Please sign in to comment.