Skip to content

Commit 3e53018

Browse files
docs(validation): use import * as z from 'zod' for broader toolchain compatibility (#731)
1 parent 977bcf1 commit 3e53018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/validation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ bun add zod
192192
Import `z` from `zod`.
193193
194194
```ts
195-
import { z } from 'zod'
195+
import * as z from 'zod'
196196
```
197197
198198
Write your schema.

0 commit comments

Comments
 (0)