Skip to content

Commit 3bfdf1d

Browse files
committed
chore(test): fix standard-schema test
1 parent 0479bbe commit 3bfdf1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/standard-schema/function-assertions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ describe('Standard Schema - Function Assertions', () => {
324324
(n) => ({
325325
schema: {
326326
'~standard': {
327-
validate: (value) => {
327+
validate: (value: unknown) => {
328328
return typeof value === 'number' && value > 0
329329
? { value }
330330
: { issues: [{ message: 'Must be positive' }] };

0 commit comments

Comments
 (0)