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 1e61d76 commit d931ea3Copy full SHA for d931ea3
playground.ts
@@ -1,12 +1,3 @@
1
import { z } from "./src";
2
3
z;
4
-
5
-const schema = z.object({
6
- name: z.string(),
7
- value: z.string(),
8
-});
9
10
-const schemaRefine = schema.superRefine(async (val, _ctx) => {
11
- return val.value !== "INVALID";
12
src/__tests__/readonly.test.ts
@@ -1,5 +1,5 @@
// @ts-ignore TS6133
-import { test, expect } from "@jest/globals";
+import { expect,test } from "@jest/globals";
import { util } from "../helpers/util";
import * as z from "../index";
0 commit comments