Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chaunceyau authored and chief-austinc committed Feb 19, 2023
1 parent b051546 commit 04e2705
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/lib/types.ts
Expand Up @@ -919,7 +919,7 @@ export class ZodString extends ZodType<string, ZodStringDef> {
return !!this._def.checks.find((ch) => ch.kind === "cuid2");
}
get isULID() {
return !!this._def.checks.find((ch) => ch.kind === "cuid2");
return !!this._def.checks.find((ch) => ch.kind === "ulid");
}

get minLength() {
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Expand Up @@ -919,7 +919,7 @@ export class ZodString extends ZodType<string, ZodStringDef> {
return !!this._def.checks.find((ch) => ch.kind === "cuid2");
}
get isULID() {
return !!this._def.checks.find((ch) => ch.kind === "cuid2");
return !!this._def.checks.find((ch) => ch.kind === "ulid");
}

get minLength() {
Expand Down

0 comments on commit 04e2705

Please sign in to comment.