Skip to content

Commit a0abcc0

Browse files
authored
docs(metadata.mdx): fix a mistake in an example output (#5248)
1 parent c56a4f6 commit a0abcc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/content/metadata.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Metadata is associated with a *specific schema instance.* This is important to k
151151

152152
```ts
153153
const A = z.string().meta({ description: "A cool string" });
154-
A.meta(); // => { hello: "true" }
154+
A.meta(); // => { description: "A cool string" }
155155

156156
const B = A.refine(_ => true);
157157
B.meta(); // => undefined

0 commit comments

Comments
 (0)