Skip to content

Commit d931ea3

Browse files
committedOct 3, 2023
Lint
1 parent 1e61d76 commit d931ea3

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed
 

‎playground.ts

-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
11
import { z } from "./src";
22

33
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-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @ts-ignore TS6133
2-
import { test, expect } from "@jest/globals";
2+
import { expect,test } from "@jest/globals";
33

44
import { util } from "../helpers/util";
55
import * as z from "../index";

0 commit comments

Comments
 (0)
Please sign in to comment.