Skip to content

Commit 536ffe9

Browse files
authored
remove coers from types
1 parent 29727df commit 536ffe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ const blog = defineCollection({
55
schema: z.object({
66
title: z.string(),
77
description: z.string(),
8-
pubDate: z.coerce.date(),
9-
updatedpubDate: z.coerce.date().optional(),
8+
pubDate: z.date(),
9+
updatedpubDate: z.date().optional(),
1010
coverImageCredit: z.string().optional(),
1111
}),
1212
})

0 commit comments

Comments
 (0)